Access tinymce from thickbox

Basically, I have a custom tinymce button which opens a thickbox window in iframe mode.
Is there a way to access the tinymce from the iframe? WordPress media uploader seems to do it somehow.

Stuff like $('#content', window.parent.document).tinymce().getContent() does not work.

Read More

PS. If that’s impossible, I’ll have to do use the tinymce default popup window, but Good God it’s ugly.

Related posts

Leave a Reply

1 comment

  1. tinyMCE isn’t implemented as a jQuery plugin. I’m not sure, but this would be more probable:

    window.parent.tinyMCE.get('editor').getContent()