Currently TinyMCE Advanced doesn’t touch any third-party buttons which seems to be best ??
Is this for sure? I currently have a problem displaying a Tinymce button of my own plugin when running Tinymce Extended. As soon as I activate your plugin the button disappears. Without it it gets displayed as expected.
This is the code where I register the Tinymce button:
// Add a callback to register our tinymce plugin
add_filter("mce_external_plugins", function($plugin_array) {
$plugin_array['pkt_footnotes_button'] =
dirname(plugin_dir_url( __FILE__ )) . '/assets/tinymce-shortcode.js';
return $plugin_array;
});
// Add a callback to add our button to the TinyMCE toolbar
add_filter('mce_buttons', function($buttons) {
$buttons[] = "pkt_footnotes_button";
return $buttons;
});
The problem seems to be connected with a recent update of TinyMCE Extended. An earlier version worked without problems. Do you have any idea how to solve this issue?