Skip to content

Commit

Permalink
fix: line break error before separator element #379
Browse files Browse the repository at this point in the history
  • Loading branch information
Hufe921 committed Dec 28, 2023
1 parent 1477bd0 commit bdb981d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/editor/core/draw/Draw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1407,6 +1407,7 @@ export class Draw {
}
listId = element.listId
if (
element.type === ElementType.SEPARATOR ||
element.type === ElementType.TABLE ||
preElement?.type === ElementType.TABLE ||
preElement?.type === ElementType.BLOCK ||
Expand Down

0 comments on commit bdb981d

Please sign in to comment.