diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index e7b8f9088..344ac9035 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -2518,7 +2518,10 @@ export class WYSIWYG { input(protyle, blockElement, range, true, event); }, Constants.TIMEOUT_INPUT); } else { - input(protyle, blockElement, range, true, event); + clearTimeout(timeout); // https://github.com/siyuan-note/siyuan/issues/9179 + timeout = window.setTimeout(() => { + input(protyle, blockElement, range, true, event); + }); } } event.stopPropagation();