fix(ai-toolbar): align fallback shortcut and identity guards
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user