Skip to content

Commit

Permalink
fix: only apply bullet style to ul > li
Browse files Browse the repository at this point in the history
* Make list items in ordered lists still show numbers.
* Use the same bullets on second and third level when first level is ol.

Signed-off-by: Max <max@nextcloud.com>
  • Loading branch information
max-nextcloud committed Feb 26, 2022
1 parent f5738cc commit fe1acbf
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions css/prosemirror.scss
Original file line number Diff line number Diff line change
Expand Up @@ -168,17 +168,17 @@ div.ProseMirror {
margin-bottom: 1em;
}

ul li {
ul > li {
list-style-type: disc;
}

// Second-level list entries
ul > li > ul > li {
li ul > li {
list-style-type: circle;
}

// Third-level and further down list entries
ul > li > ul > li ul li {
li li ul > li {
list-style-type: square;
}

Expand Down
4 changes: 2 additions & 2 deletions js/editor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/editor.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-files.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-files.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-public.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-public.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-text.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-text.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-viewer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-viewer.js.map

Large diffs are not rendered by default.

0 comments on commit fe1acbf

Please sign in to comment.