[solution] Using tinyMCE in only 1 or more specifies textareas

By.

min read

My profile

Share this:

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]

Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *