3
votes
0answers
114 views

Bridge Wordpress Media API with custom tinyMCE plugin

In my tinyMCE plugin, I would like to be able to call the Wordpress Media manager introduced in WP 3.5. I am currently working on a plugin that needs to fetch images from the library. I know we can ...
0
votes
1answer
752 views

How to close tinymce inline popup

I have been looking around, but am unable to close the popup programmatically. The following code does not seem to work. tinyMCEPopup.close() TypeError: Cannot read property 'windowManager' of ...
2
votes
1answer
874 views

How can I find the 'public absolute' path of a file?

Short Version I need to give in the absolute path of a Javascript file that is to be hooked into something. It works if I hardcode it into 'http://mywebsite.com/folder/script.js' However I prefer ...