Vanessa 2025-04-17 23:43:58 +08:00
parent 8ece62c075
commit 4e13146e5e

View File

@ -329,7 +329,7 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {
return;
}
if (event.shiftKey && (event.key === "ArrowLeft" || event.key === "ArrowRight")) {
if (isNotCtrl(event) && event.shiftKey && (event.key === "ArrowLeft" || event.key === "ArrowRight")) {
const selectElements = protyle.wysiwyg.element.querySelectorAll(".protyle-wysiwyg--select");
if (selectElements.length > 0) {
event.stopPropagation();