From fc558107cf420704581c7245d91227d125613d7f Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 17 Apr 2025 23:55:32 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/14638 --- app/src/protyle/wysiwyg/keydown.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/wysiwyg/keydown.ts b/app/src/protyle/wysiwyg/keydown.ts index 1970f4476..25de57fd8 100644 --- a/app/src/protyle/wysiwyg/keydown.ts +++ b/app/src/protyle/wysiwyg/keydown.ts @@ -329,7 +329,7 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => { return; } - if (isNotCtrl(event) && event.shiftKey && (event.key === "ArrowLeft" || event.key === "ArrowRight")) { + if (event.shiftKey && (event.key === "ArrowLeft" || event.key === "ArrowRight")) { const selectElements = protyle.wysiwyg.element.querySelectorAll(".protyle-wysiwyg--select"); if (selectElements.length > 0) { event.stopPropagation();