I have text widgets that can be added on the page. A click should activate the div into a wysiwyg editor. A click anywhere outside of the editor should destroy the editor wi
Here's how to remove TinyMCE from a textarea:
tinyMCE.execCommand('mceRemoveControl', false, 'id');
You can also have 'mceAddControl' or 'mceToggleEditor' for more control. 'id' is the id attribute on the textarea.
This should work pending you've initiated TinyMCE in the normal ways, can't be more specific without seeing your source code!