I'm using the RadRichTextEditor the first time and I'm wondering if it is somehow possible to get only the HTML out of the editor. I've thought about something like:
htmlText = txtText.Text;
// while txtText is my RadRichTextEditor
But this returns me the plain text, without any html tags. I've seen I can export and import it using a HtmlFormatProvider. This worked great, but it is not exactly the thing I want, since it returns the whole HTML document instead of only the html I have in my text editor.
HtmlFormatProvider prov =
htmlText = prov.Export(txtText.Document);
The output I wish would be something like this:
"This is a <b>bold</b> text. Great, isn't it?"