html in tinymce
Posted: Wed Mar 03, 2010 8:37 pm
I've developped a module which uses tinymce. In my database, I store text in html-format. For example line1line2
I want to display this html-text in a tinymce editor, but I always see the html completely, including the html-tags.
I use the function 'CreateTextArea' to display the textarea.
MyModule::CreateTextArea(true,$id,$myText,"txtMyText");
--> where $myText contains "line1line2"
I'm doing something wrong, but I don't know what...
I want to display this html-text in a tinymce editor, but I always see the html completely, including the html-tags.
I use the function 'CreateTextArea' to display the textarea.
MyModule::CreateTextArea(true,$id,$myText,"txtMyText");
--> where $myText contains "line1line2"
I'm doing something wrong, but I don't know what...