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.
PS. If that’s impossible, I’ll have to do use the tinymce default popup window, but Good God it’s ugly.
tinyMCE isn’t implemented as a jQuery plugin. I’m not sure, but this would be more probable: