Open
Description
Description
CoreWebView2ContextMenuRequestedEventArgs.MenuItems
for CoreWebView2.ContextMenuRequested
event contain list of commands with spellcheck
name but there's no way to get the actual suggestion text.
Version
SDK: 1.0.1189-prerelease
Runtime: 100.0.1185.29
Framework: WPF
OS: Win11
Repro Steps
- Add event handler to
CoreWebView2.ContextMenuRequested
- Start the application
- Right click on a misspelled word
- There are
spellcheck
commands inCoreWebView2ContextMenuRequestedEventArgs.MenuItems
but there's no suggestions available for any of them. Setting theirCommandId
asSelectedCommandId
works properly as the misspelled word will be corrected.
Additional context
Without this information it's not possible for us to build a custom context menu with spell check suggestions.