feat: add custom context menus for editor and chat input
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m41s
CI / Lint & Test (pull_request) Successful in 17m53s
CI / Build Linux (pull_request) Successful in 24m31s
CI / Build Windows (cross-compile) (pull_request) Successful in 32m54s

- Add EditorContextMenu for code editor with clipboard operations
  (Undo, Redo, Cut, Copy, Paste, Select All)
- Add TextInputContextMenu for chat input textarea
- Add global context menu prevention to disable default webview menu
- Add viewport boundary detection to keep menus within window bounds
- Install @codemirror/commands for undo/redo functionality
This commit is contained in:
2026-01-28 17:25:26 -08:00
committed by Naomi Carrigan
parent 38b591a084
commit f889002266
8 changed files with 564 additions and 7 deletions
+1
View File
@@ -27,6 +27,7 @@
},
"license": "MIT",
"dependencies": {
"@codemirror/commands": "6.8.1",
"@codemirror/lang-angular": "^0.1.4",
"@codemirror/lang-cpp": "^6.0.3",
"@codemirror/lang-css": "^6.3.1",