• Hi There,

    I am trying to add the table plugin for TinyMCE. I have downloaded the full version from moxiecode and placed the table folder in /wp-includes/js/tinymce/plugins.

    Next I added the following code to the functions.php file from within my theme:

    function myplugin_addbuttons() {
    
       if ( get_user_option('rich_editing') == 'true') {
         add_filter('mce_buttons', 'register_myplugin_button');
       }
    }
    
    function register_myplugin_button($buttons) {
       array_push($buttons, "tablecontrol");
       return $buttons;
    }
    
    // init process for button control
    add_action('init', 'myplugin_addbuttons');

    The buttons are still is not showing in the editor. Can someone advise where I am going wrong?

    Thanks,

    Kris

The topic ‘Activating Table Plugin For TinyMCE’ is closed to new replies.