From 0ddcf82eb2f7bdd7b3cbebf2dad99bdbf97bb786 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Mon, 20 Apr 2026 20:05:16 +0800 Subject: [PATCH] :art: Improve input method compatibility https://github.com/siyuan-note/siyuan/issues/17546 Signed-off-by: Daniel <845765@qq.com> --- app/src/protyle/wysiwyg/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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();