fix(编辑能力): 修复输入状态下标签快捷键
build.yaml / build (push) Successful in 47s

This commit is contained in:
xiaoqidun committed 2026-10-29 15:01:52 +08:00
1 parent 5b4f2472f7
commit 838a769c5b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1952,7 +1952,7 @@ export class CanvasEditor {
}
});
input.addEventListener("keydown", (event) => {
if ((event.ctrlKey || event.metaKey) && !event.altKey && event.key.toLowerCase() === "s") return;
if ((event.ctrlKey || event.metaKey) && !event.altKey && ["s", "w", "tab"].includes(event.key.toLowerCase())) return;
event.stopPropagation();
if (event.isComposing || editing.composing || editing.saving) {
return;