Search code examples
c#vb.net.net-3.5wysiwyg

.Net HTML Editor Control


I need to add in a WYSIWYG control into a .NET form. I found this one from SpiceLogic on several sites and was wondering if this is a decent library to use?

http://www.spicelogic.com/Products/NET-Win-HTML-Editor-Control-8/

If anyone has any additional input, I also would like to know of any other decent alternatives, both free and non-free.

Thanks in advance for any opinions on this!

EDIT Should have clarified this before, but this is a desktop application.


Solution

  • You can also try one of these strategies:

    1. Use the RichTextBox control, which exposes a FlowDocument. Write a program that converts the FlowDocument to HTML. Since FlowDocs are much more constrained that HTML, this conversion might be pretty straightforward (sections -> div, paragraph -> p, styles -> css or style attributes, etc).

    2. Use MSHTML and put it into edit mode. http://msdn.microsoft.com/en-us/library/aa753622(v=vs.85).aspx