From 320811763eb888dafbd023d43bfbf2eb6d908ff6 Mon Sep 17 00:00:00 2001 From: Hufe921 Date: Sun, 6 Mar 2022 21:15:39 +0800 Subject: [PATCH] fix:search by keyword --- src/editor/core/command/CommandAdapt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++ } // 搜索文本