jeudi 12 février 2015

set Content of a TinyMCE textarea via HTML


To set a content of a TinyMCE textarea we use this code in JavaScript :



tinymce.activeEditor.selection.setContent('<strong>Some contents</strong>');


but how can I set the content via html, without JavaScript ?? I tried to use



<textarea>Some Contents</textarea>


but this is not working. Thanks





Aucun commentaire:

Enregistrer un commentaire