How to un-attach rich text editor from named textarea elements

Currently you’re telling it to target all textareas on the page so you need to change

$init['mode'] = 'textareas'; to $init['mode'] = 'specific_textareas' or $init['mode'] = 'exact' and then name the textarea by id where you have $init['elements'] = 'category_description,description'; defined.

To read more about tinyMCE options go to http://tinymce.moxiecode.com/wiki.php/Configuration and the mode configuration description is here http://tinymce.moxiecode.com/wiki.php/Configuration:mode

Leave a Comment

error code: 523