apply tinyMCE to specific textarea instead of all textareas
This problem occurs when we don’t bother to specify the textarea for tinyMCE. Situation justifies because mostly we deal with such content pages where only one textarea will be used and that either rich texteditor or simple textarea. Few developers will not agree with me if i say that use more than one textareas on the same page and apply tinyMCE to only one. Still all textareas will behave normal as they should except one which is associated with tinyMCE.
The reason is shown in this image where we are specifying a broad category as textareas.
Its solution is is to set mode: exact in tinyMCE and we have to set elements in comma separated string. As in given snapshot there is only one element, you can try it with more.
tinyMCE application to particular textarea is an important point if we want to save our time while deploying a solution. Hope this pictorial aid will help those a lot who straight forwardly use tinyMCE and don’t bother to be specific.
Last updated: March 19, 2014