Spell Checking in WinForms WebBrowser

We want to add spell checking to the website hosted in our application through the WebBrowser control.

If you open our sites in a newer browser, such as IE9, etc. spell checking already works in the default browser.

Is there a way to get this to work in a WinForms WebBrowser control?

EDIT: how to make it work in a Frame control in WPF?

+4
source share
2 answers

Spellchecking with IE 11 or Edge now works on managing the web browser and Windows 10. I managed to get it to work on content content:

foreach (HtmlElement el in Document.All) { el.SetAttribute("unselectable", "on"); el.SetAttribute("contenteditable", "false"); } Document.Body.SetAttribute("width", Width.ToString() + "px"); Document.Body.SetAttribute("contenteditable", "true"); Document.Body.SetAttribute("spellcheck", "true"); 
+1
source

I plan to try this myself, but IESpell looks like a good client solution. Should work, as the WebBrowser control uses IE under the hood.

EDIT: I was unable to get IESpell to work in the WebBrowser control, so I went looking for the html editor and found TinyMCE and another <href = "article http://www.brutaldev.com/post/2008/05/09/tinyMCE -running-in-Windows-Forms.aspx "rel =" nofollow "> to use it in WinForms. TinyMCE has a spell check feature.

+1
source

Source: https://habr.com/ru/post/1344806/