diff --git a/src/editor/core/command/CommandAdapt.ts b/src/editor/core/command/CommandAdapt.ts index 15a2ea1..45d0f4c 100644 --- a/src/editor/core/command/CommandAdapt.ts +++ b/src/editor/core/command/CommandAdapt.ts @@ -1089,7 +1089,7 @@ export class CommandAdapt { elementList: [tableElement] }) } - elementIndex += endIndex + 1 + elementIndex = endIndex + 1 i++ } // 搜索文本