diff --git a/src/editor/core/command/CommandAdapt.ts b/src/editor/core/command/CommandAdapt.ts index 7e9d33d..d62829a 100644 --- a/src/editor/core/command/CommandAdapt.ts +++ b/src/editor/core/command/CommandAdapt.ts @@ -465,7 +465,7 @@ export class CommandAdapt { } const element: IElement = { type: ElementType.TABLE, - value: ZERO, + value: !startIndex ? '' : ZERO, colgroup, trList }