Support

Account

Home Forums General Issues Table Editor in Wysiwyg Editor field Reply To: Table Editor in Wysiwyg Editor field

  • Hmmm I’ve used the table editor with TinyMCE advanced and ACF before, you can also edit your options yourself. You can set which default options your TinyMCE editor shows, just stick this in your functions.php and change the options accordingly.

    function tinymce_buttons($buttons)
     {
        return array(
          'bold', 'italic', 'underline', 'bullist', 'numlist', 'blockquote', 'justifyleft', 'justifycenter', 'justifyright', 'justifyfull', 'link', 'unlink', 'anchor', 'wp_more', 'wp_fullscreen', 'wp_adv'
        );
     }
    add_filter('mce_buttons','tinymce_buttons');
    
    function tinymce_buttons_2($buttons)
     {
        return array(
          'formatselect', 'pastetext', 'pasteword', 'sub', 'sup', 'charmap', 'hr', 'removeformat', 'undo', 'redo', 'code'
        );
     }
    add_filter('mce_buttons_2','tinymce_buttons_2');