Bridge WordPress Media API with custom tinyMCE plugin [closed]

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 ?

0

Leave a Comment