fix: extra blank row appear when insert table #162

This commit is contained in:
Hufe921
2023-03-27 22:05:46 +08:00
parent 6351b95646
commit 2f8c6b71d2
+1 -1
View File
@@ -465,7 +465,7 @@ export class CommandAdapt {
} }
const element: IElement = { const element: IElement = {
type: ElementType.TABLE, type: ElementType.TABLE,
value: ZERO, value: !startIndex ? '' : ZERO,
colgroup, colgroup,
trList trList
} }