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 easily call the media manager from a plugin but problem is in my tinyMCE plugin I can't call the wp_enqueue_media() in order to make it work. So is there any way to bridge tinyMCE with this media manager API ?
WP_Editor
instance that's perfectly pasting images from the media library to both the visual/TinyMCE as well as into the textarea/text content.