• Hi,

    I have a problem with mce_external_plugins, I have external script for custom buttons in tinymce post editor, and now I need to change some text and add one more textbox .. everything is done, but from some reason changes is not want to showing in tinymce?? in source I found url to external script and everything is okay.. but changes is not want to showing..

    With Firebug I found that on script is added “cache_suffix” like this

    js/mce-custombuttons.js?wp-mce-4208-20151113

    worpress add this “wp-mce-4208-20151113” .. I guess this is tinymce version or something, but I have trouble because of this. Every changes I made in script not want to showing, its only show “?wp-mce-4208-20151113” version, and when I add link to script in browser without this version at the end, I see my changes.. Any suggestion what to do…

Viewing 1 replies (of 1 total)
  • Thread Starter dados

    (@dados)

    I found one solution but I am not sure is this correct option to get this issues work…

    function my_format_TinyMCE( $in ) {
    $in['cache_suffix'] = 'ver=wp-mce-1.0';
    return $in;
    }
    add_filter( 'tiny_mce_before_init', 'my_format_TinyMCE' );
Viewing 1 replies (of 1 total)
  • The topic ‘"cache_suffix" tinymce issues’ is closed to new replies.