I'm really not sure how I understand you correctly. Tinymce is a javascript iframe editor, you cannot manipulate it until it is fully loaded on the page.
Do you want to show the editor by clicking inside the div? You can use this inline
parameter:
tinymce.init({ selector: "divID", inline: true });
Working example
Do you want to hide the editor after some event? You can use this:
$('#bottonID').click(function(){ tinymce.editors['divID'].hide(); });
Working example
Or, conversely, try using jquery tinymce: download
Then manipulate tinima as follows:
$(function() { $('textarea.tinymce').tinymce({
If you could be more specific, what would you like to achieve, I could provide a more accurate answer.
source share