• I have added the MCE Visualblocks plugin to my theme, and it works great, but when I have it active the MCE Table Button does NOT show.

    I use this code block to make the visualblocks plugin show. As soon as I remove it the MCE Table Button shows up again. Any chance to get these two to play nice together?

    add_filter('mce_external_plugins', 'add_mceplugins');
    function add_mceplugins() {
    	$plugins = array('visualblocks');
    	$plugins_array = array();
    
    	foreach ($plugins as $plugin ) {
    		$plugins_array[ $plugin ] = get_stylesheet_directory_uri() . '/library/js/'. $plugin .'/plugin.js';
    	}
    	return $plugins_array;
    }

    https://wordpress.org/plugins/mce-table-buttons/

  • The topic ‘Table press button won't show when using external MCE Plugin’ is closed to new replies.