Display Text Without HTML Codes and Keep Formatting
Posted on 2013-06-10
I'm using tinyMCE 4.x, ASP.Net & VB - I successfully use the editor to encode text to html format and save it to a database. Now I retrieve the text, for editing, to the textArea and it displays with the html text instead of diplaying text in format it was input at. How do I correct this?
The dog jumped over the fence.
The cat swam through the river.
Shows up as: <p>The dog jumped over the fence.<br>The cat swam through the river.</p>
I looked at the TinyMCE API 4.x examples but it's not sinking in.
Is there something I can do in either TinyMCE or in ASP.net - to have it display as it was originally entered?