MicrosoftEdge / MicrosoftEdge/WebView2Feedback
Can we disable custom context menu items?
@Lakshmisha-KS is already working on this.
Since Feb 12, 2025.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
I have read through the API again and I can see a get_isEnabled method for default menu items. But, what about our custom menu items?
Background
My editor has several View modes. And, certain features are only available in certain view modes. So I would like the ability to disable menu items on demand. I realise that I could add a variable to my CWebBrowser class that builds the menu, and only add it if variable has a certain value. But I prefer to disable.
Win32, C++
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.