Skip to content

Adds support to Native Window Menu in multiple platforms.#31

Open
abner wants to merge 2 commits intowebviewjs:mainfrom
abner:adds-menu
Open

Adds support to Native Window Menu in multiple platforms.#31
abner wants to merge 2 commits intowebviewjs:mainfrom
abner:adds-menu

Conversation

@abner
Copy link

@abner abner commented Feb 15, 2026

I implemented a support for menu, as, mainly in MacOS, the absence of the menu configured makes the use of the webview poor, as the user can't trigger easily and natively some operations like Copy (Command + C), Paste (Command + V), Cut (Command +X), SelectAll (Command + A) and Quit (Command + Q), through the usual shortcuts.

Although, this implementation still lacks the feature to allow to override this native menu with the developer own override of the this native items label, text and own accelerators (shortcuts).

But, anyway, it could be improved, and as the menu feature itself is absence at this point, maybe it would be a matter of accepting this PR and working from there, or iterate it here during the review of this PR.

I tested it locally in my Macbook, but I couldn't verify it yet in the other Platforms (Linux and Windows).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants