How to edit content using Tiny Mce
I am using Tiny MCE to edit some content within my site. I am having problems displaying text within the Tiny MCE content area ,which has been retrie开发者_高级运维ved from the database.
What am I doing wrong? The text is plain not HTML formatted.
Thanks
You need to either load the content inside the textarea before initializing tinymce or
update the editor's content after initialization. This can be done using: tinymce.activeEditor.setContent('content');//setcontent needs to be called on the right editor instance
精彩评论