Commit Graph

6 Commits

Author SHA1 Message Date
449b0a569f Use block aware "Select All" command in context menu and app menu 2025-01-09 17:19:59 +01:00
3107cb5368 Add right click context menu and improve application menu
- Add right-click context menu with undo/redo/cut/copy/paste/select all options, as well as Delete block and Move block to another buffer
- Add Delete Block and Move Block to another buffer in the application menu
- Change so that we use our custom "undo" event instead of relying on the default undo event, since there were cases when the default undo didn't trigger the CodeMirror undo reliably
2025-01-09 17:19:59 +01:00
6187d6d468 Add menu item to open "Move block" dialog 2025-01-07 23:17:23 +01:00
9bf3a5dacc * Add window.heynote.mainProcess.on() and off() which can be used in browser land to communicate with the main process. Use these methods to remove intermediate onOpenSettings() and onSettingsChange() methods from window.heynote objects.
* Convert some pesky TypeScript to JavaScript
2025-01-06 16:20:00 +01:00
96bd5f1f95 Change menu.js file to typescript file
#build
2023-01-15 12:49:43 +01:00
35260cf066 Manually create app menu (without the Close window menu item) 2023-01-15 12:45:06 +01:00