如何在WebView2(Winforms)中切换SpellChecker语言?

发布于 2025-01-28 01:22:31 字数 456 浏览 3 评论 0原文

我一直在基于WebView2 Control的文本编辑器工作。

似乎只有支持的语言才是英语。已经发表了类似的帖子(我如何更改在Microsoft Edge/webView2中使用用于拼写检查的语言?)但是它不能解决此问题。

使用推荐的解决方案corewebview2environmentoptions。语言仅更改上下文菜单中的语言,SpellChecker仍然强调非英语单词。

是否有人有同样的问题并能够解决问题?也许这不可能?任何意见都将不胜感激。

I have been working on a text editor based on WebView2 control.

It seems like only language that is supported is English. There was a similar post made already ( How can I change the language used for spell checking in Microsoft Edge/WebView2? ) but it does not solve this issue.

Using the recommended solution CoreWebView2EnvironmentOptions.Language only changes the language in the context menu, the spellchecker still underlines non English words.

Is there anyone that has the same problem and was able to fix it? Maybe this isn't possible? Any input would be greatly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文