From 1487033d75e7c94c2fdf748217f79642181eaaf1 Mon Sep 17 00:00:00 2001 From: xukuanzhuo Date: Tue, 5 Dec 2023 14:26:18 +0800 Subject: [PATCH] fix: multiple empty lists render error in first row --- src/editor/core/draw/Draw.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/core/draw/Draw.ts b/src/editor/core/draw/Draw.ts index 47fe6fb..c2da99d 100644 --- a/src/editor/core/draw/Draw.ts +++ b/src/editor/core/draw/Draw.ts @@ -1414,7 +1414,7 @@ export class Draw { if ( curRow.startIndex === 0 && curRow.elementList.length === 1 && - (INLINE_ELEMENT_TYPE.includes(element.type!) || element.listId) + INLINE_ELEMENT_TYPE.includes(element.type!) ) { curRow.height = defaultBasicRowMarginHeight }