Open parkerholladay opened 3 years ago
It was once suggested here, but declined back then... https://github.com/sindresorhus/electron-context-menu/pull/87
For MacOS (only?), the shortcuts CMD + C & CMD + V do not work, if no accelerator are defined for these actions...
For the edit options such as
Copy
,Cut
, andPaste
that have system hotkeys, it would be helpful to have a flag that you could use to enable theCmdOrCtrl+C
, etc. hotkeys to be displayed in theMenuItem[]
. That could look something like the following:Another possibility would be to extend the
labels
option to allow not just a string, but an object for the string label and an accelerator. i.e.I'd be more than happy to submit a PR depending on which route you prefer architecturally.