Good day.

I write something "as like" a mixture of corporate email client and icq. To enter / display the text of messages / notifications I use the WebBrowser component (hereinafter wb). Why precisely his:

  1. html is more pleasant for perception and processing than rtf (RichTextBox)
  2. Users receive a lot of information from the database on working moments in the form "Document | Problem | Responsible | Possible action | Time to action" - html-tables make the perception of information more pleasant + in sql it is more pleasant and more convenient to form a table
  3. In the future, part of the interface and functionality can be shifted onto the shoulders of html, css and js

So - the text is perfectly written / sent / formatted, the images are inserted, the tables are output, thanks to html + css + js you can wind up a lot of different gizmos compared to rtf, but there are a few "BUT":

  1. A lot of functionality for a text editor has to be codified.
  2. Problems using js and catching html events wb
  3. Buggy wb itself

In this regard, the question is - are there any browser-analogues of wb, which allow editing the DOM and using the component as a text editor, in which there will be slightly less crutches, glitches, opportunities? All the examples during the occupation of this task (about a year) were on wb, and then - they can be counted on the fingers.

Thanks in advance for your reply.

    1 answer 1

    I tried different. Here are the ones that have shown themselves well and are working today:

    1) CefSharp gitHub is free

    Made on the basis of chromium. Not bad updated. He has good JS support. In addition, you can call methods in c # from Js. Means of working with Dom only through js.For this, by the way, there is a built-in "DevTools".

    2) DotNetBrowser website - paid

    Also based on chromium. The documentation has support for manipulating Dom, but I have not used it.

    • Do not tell me, do they have support for visual editing, like wb (DesignMode = true)? - Sky