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:

| improve this answer | |
  • Thank you, that worked! I forgot to replace editor with content – Lulupard Jul 22 '12 at 10:13
  • @VladChernushevich : in the Stack, one say "thanks" upvoting ;) – brasofilo Jul 22 '12 at 11:17
  • @brasofilo Gladly, but Vote Up requires 15 reputation :) – Lulupard Jul 22 '12 at 12:50
  • @VladChernushevic : oh, apologies, didn't know/remember but won't forget that... you're closer now ;) – brasofilo Jul 22 '12 at 14:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.