javascript Rich Text Editors [closed]

After more research I found the following. The functionality for building a rich-text-editor is already implemented at the browser. IE was the first to create such an API and Firefox replicated it. Overview The main point is that the javascript object “document” has a property called designMode which can be set to “on”. This converts … Read more

How do I convert HTML to RTF (Rich Text) in .NET without paying for a component? [closed]

Actually there is a simple and free solution: use your browser, ok this is the trick I used: var webBrowser = new WebBrowser(); webBrowser.CreateControl(); // only if needed webBrowser.DocumentText = *yourhtmlstring*; while (_webBrowser.DocumentText != *yourhtmlstring*) Application.DoEvents(); webBrowser.Document.ExecCommand(“SelectAll”, false, null); webBrowser.Document.ExecCommand(“Copy”, false, null); *yourRichTextControl*.Paste(); This could be slower than other methods but at least it’s free … Read more

tech