Skip to content

Commit

Permalink
pretier
Browse files Browse the repository at this point in the history
  • Loading branch information
david ruty committed Jun 28, 2024
1 parent 8c68298 commit c3ea678
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/quill/src/core/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,10 +338,10 @@ function convertListHTML(
const [{ child, offset, length, indent, type }, ...rest] = items;
const [tag, attribute] = getListType(type);
// CLASSNAME FIX
const className =
const className =
(<HTMLLIElement>child.domNode).className != ''
? ` class="${(<HTMLLIElement>child.domNode).className}"`
: "";
: '';
if (indent > lastIndent) {
types.push(type);
if (indent === lastIndent + 1) {
Expand Down

0 comments on commit c3ea678

Please sign in to comment.