Title: [Plugin: NextGEN Gallery] window.tinyMCE.execInstanceCommand(&#039;content&#039; &#8230;
Last modified: August 20, 2016

---

# [Plugin: NextGEN Gallery] window.tinyMCE.execInstanceCommand('content' …

 *  [Michael M](https://wordpress.org/support/users/mixey/)
 * (@mixey)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-windowtinymceexecinstancecommandcontent/)
 * Hi,
 * in nextgen-gallery/admin/tinymce/tinymce.js
 * window.tinyMCE.execInstanceCommand(‘content’, ‘mceInsertContent’, false, tagtext);
 * There’s a string “content” which say where to insert newly generated shortcode,
   the problem is that my plugin has extra textareas powered with tinyMCE and it
   would be cool if I could insert shortcodes there too. Something like passing 
   the id of textarea where shortcode should be placed.
 * Thanks!
 * [http://wordpress.org/extend/plugins/nextgen-gallery/](http://wordpress.org/extend/plugins/nextgen-gallery/)

The topic ‘[Plugin: NextGEN Gallery] window.tinyMCE.execInstanceCommand('content'…’
is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Michael M](https://wordpress.org/support/users/mixey/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-windowtinymceexecinstancecommandcontent/)
 * Status: not resolved