Title: Small issues in Tinymce
Last modified: September 2, 2016

---

# Small issues in Tinymce

 *  [Aadil_hussain](https://wordpress.org/support/users/aadil_hussain/)
 * (@aadil_hussain)
 * [12 years ago](https://wordpress.org/support/topic/small-issues-in-tinymce/)
 * Hello Praveen,
 * Excellent work dude… but i have found a issue in tinymce file ->
    wp-content/
   plugins/cool-video-gallery/tinymce/window.php
 * i want to help you bro so please have a look verify and change following code
 * In window.php
    Comment the below lines //if(window.tinyMCE) { // window.tinyMCE.
   execInstanceCommand(‘content’, ‘mceInsertContent’, false, tagtext); // tinyMCEPopup.
   editor.execCommand(‘mceRepaint’); // tinyMCEPopup.close(); //} //return; //)
 * and put follwoing
    if(window.tinyMCE) {
 *  /* get the TinyMCE version to account for API diffs */
    var tmce_ver=window.
   tinyMCE.majorVersion;
 *  if (tmce_ver>=”4″) {
    window.tinyMCE.execCommand(‘mceInsertContent’, false, 
   tagtext); } else { window.tinyMCE.execInstanceCommand(‘content’, ‘mceInsertContent’,
   false, tagtext); }
 *  tinyMCEPopup.editor.execCommand(‘mceRepaint’);
    tinyMCEPopup.close(); } return;}
 * let me know if you find my suggestion useful!!
 * All in all excellent work
    Keep it up!! Thanks

The topic ‘Small issues in Tinymce’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cool-video-gallery_658d3b.svg)
 * [Cool Video Gallery](https://wordpress.org/plugins/cool-video-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cool-video-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cool-video-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/cool-video-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cool-video-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cool-video-gallery/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Aadil_hussain](https://wordpress.org/support/users/aadil_hussain/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/small-issues-in-tinymce/)