Electron Context Menu is a JavaScript package that adds configurable right-click menus to Electron applications. It provides common native-style actions that Electron developers would otherwise need to implement manually. Built-in behavior includes cut, copy, paste, text lookup, web search, link copying, image actions, video actions, and spellchecking-related commands. An Inspect Element option can automatically appear during development for easier debugging. Developers can add, remove, reorder, rename, or transform menu actions and can target specific windows or views. The package operates from Electron's main process and can apply menus to existing and newly created windows. Its extensible API helps applications provide richer context-sensitive interactions with less custom menu code.
Features
- Cut, copy, paste, and text selection actions
- Spellchecking, lookup, and web search commands
- Image, video, and link context actions
- Development-time Inspect Element support
- Custom menu items, labels, and transformations
- Per-window or application-wide context menu configuration