feat: add document-level paste and Ctrl/Cmd+V handler for image clipboard support

This commit is contained in:
2026-04-08 19:58:40 -04:00
parent 1c864f162e
commit cac201a4d2
2 changed files with 105 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ export interface ShortcutDefinition {
export const SHORTCUT_DEFINITIONS: ShortcutDefinition[] = [
{ modifiers: ["mod", "enter"], label: "Generate event" },
{ modifiers: ["mod", "shift", "A"], label: "Attach image" },
{ modifiers: ["mod", "V"], label: "Paste image" },
{ modifiers: ["esc"], label: "Clear prompt" },
];