Support » Plugin: Blocks Everywhere » replace TinyMCE with Blocks editor

  • Resolved Jorcus


    Hello, I love how WordPress implement blocks editor. I’m currently switching everything from classic editor to blocks editor.

    Right now, I’m looking to replace TinyMCE to blocks editor with code for some custom plugin. Currently the blocks editor on frontend has two “header”, one is for undo/redo. The other one is for bold/italic to words.

    I’m planning to make them into one “header”. Also interested to customize the blocks editor to make it like the way to can customize on TinyMCE with wp_editor(). For example, add headings “h1”, “h2”, etc.

    Is there any site/documentation for this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author John Godley


    Do you mean how do you add buttons in the toolbar? Is this to the editor in Blocks Everywhere, or in Gutenberg in general?

    Thread Starter Jorcus


    I mean add buttons in the toolbar.

    Something like the code we use on our TinyMCE wp_editor()

    For example, I prefer to use toolbar1 only. multiple toolbars will making some confusion on frontend blocks.

    In wp_editor(), we will write something like below.

    $args = array(
        'tinymce'       => array(
            'toolbar1'      => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink,undo,redo',
            'toolbar2'      => '',
            'toolbar3'      => '',
    wp_editor( $content, $editor_id, $args );
    // source

    Is there any doc for this. Maybe for this plugin we can add_filter() to achieve?

    • This reply was modified 4 months ago by Jorcus.
    Plugin Author John Godley


    That concept of toolbars is for tinymce only and doesn’t really apply to Gutenberg.

    We would like to merge the two toolbars for smaller use cases like here in the forums but currently it is unsupported by Gutenberg.

    Thread Starter Jorcus


    Thanks for the fast response. Will this plugin merge into WP core in future?

    Plugin Author John Godley


    I don’t know if that will happen, but maybe the ideas can help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.