From ccef05208b06bfd3e0e0833dd28d40d4aa486302 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 27 Oct 2022 23:05:54 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/6373 --- app/src/protyle/wysiwyg/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index 613f01807..af1e91629 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -197,6 +197,7 @@ export class WYSIWYG { } event.stopPropagation(); event.preventDefault(); + window.siyuan.ctrlIsPressed = false // https://github.com/siyuan-note/siyuan/issues/6373 const range = getEditorRange(protyle.wysiwyg.element); const nodeElement = hasClosestBlock(range.startContainer); if (!nodeElement) {