• 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.