Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ethan Anwar on Jun 21, 2009 07:45
open dhtmlx forum
dhtmlxEditor setContent and setContentHTML

Hi!
I have a small problem. Every time I load a htmlstring or an URL intro the Editor the editor formats the text and displays it like a mini browser. Is there a way for the editor to show me the unformated test?

For example :
var content= '<b>Some text here></b>';
editor.setContent(content);

The editor will show me 'Some text here' in bold.
I want to see the actual code '<b>Some text here></b>'.

What i want in the end is to use dhtmlxEditor as a text editor , to be able to open a .html document as a text file, with all the tags intact, change whatever i want and then save it.

Thank you,
Ethan Anwar
Answer posted by Alex (support) on Jun 22, 2009 00:35

Hello,

unfortunately the current editor version doesn't support the described funcitonality.