fix: line break error before separator element #379

This commit is contained in:
Hufe921
2023-12-28 22:35:13 +08:00
parent 1477bd0e3f
commit bdb981d242
+1
View File
@@ -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 ||