Anyone know of a good free winforms html editor for .NET. Ideally I would like html and preview modes along with the possibility of exporting to a pdf, word doc or similar.
Although the export I could probably create myself from the html output.
Another nice feature would be a paste from word that removes all the extra tags you usually end up with but again it’s a nice to have not a required.
You can use the WebBrowser control in design mode with a second
WebBrowsercontrol set in view mode.In order to put the
WebBrowsercontrol in design mode, you can use the following code.This code is a super stripped down version of a WYSIWYG editor for one of our software products.
Simply create a new Form, drop a
WebBrowsercontrol on it, and put this in the Form.Load: