The tinyMCE editor comes standard with:
[code:1:e4f1446536]tinyMCE.init({
…
mode : “textareas”,
…
});
…
<textarea id=”elm1″ …[/code:1:e4f1446536]
however, if you only want to start the editor for some prefined textareas, change the code to:
[code:1:e4f1446536]tinyMCE.init({
…
mode : “exact”,
elements : “elm1,elm2”
});
…
<textarea id=”elm1″ ……
<textarea id=”elm2″ ……
<textarea id=”no_tinymce” …[/code:1:e4f1446536]
Leave a Reply