Support

Account

Home Forums General Issues Table Editor in Wysiwyg Editor field

Helping

Table Editor in Wysiwyg Editor field

  • Hi,

    I need to add table editing option in the Wysiwyg visual editor.
    a simple table editor like in the TinyMCE Advanced plugin.

    have any idea how to do it?

    tnx ahead
    🙂

  • 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');
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Table Editor in Wysiwyg Editor field’ is closed to new replies.