fix(ai-toolbar): align fallback shortcut and identity guards

This commit is contained in:
old4ever committed 2026-04-23 05:10:55 -04:00
1 parent 85f4066ce2
commit 502bd6237a
2 files changed
+66

No files matched your search

+1
View File
@@ -222,6 +222,7 @@ export const AIToolbar = ({
const isV = e.key === "v" || e.key === "V";
const isModifier = e.ctrlKey || e.metaKey;
if (!isV || !isModifier || e.shiftKey || e.altKey) return;
if (e.ctrlKey && e.metaKey) return;
if (isEditableTarget(e.target)) return;
pasteHandledByEvent = false;