• Hello,

    I need to add table icon in the toolbar to add tables in the editor, without using another plugin. is this possible,

    function add_table_button_to_editor($buttons) {
    $buttons[] = ‘table’;
    return $buttons;
    }

    function enable_table_button($settings) {
    $settings[‘toolbar1’] .= ‘,table’;
    return $settings;
    }

    add_filter(‘mce_buttons’, ‘add_table_button_to_editor’);
    add_filter(‘tiny_mce_before_init’, ‘enable_table_button’);

    i tried this code, nothing happened, is there any customization possible? please help me ASAP

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Add Table icon in the toolbar’ is closed to new replies.