tags:

views:

41

answers:

1

Hi,

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 retrieved from the database.

What am I doing wrong? The text is plain not HTML formatted.

Thanks

A: 

You need to eighter load the content inside the textarea before initializing tinymce or to update the editors content after initialization. This can be done using: tinymce.activeEditor.setContent('content');//setcontent needs to be called on the right editor instance

Thariama