• Resolved Mitchell

    (@weareknights)


    Boxzilla still uses the old TinyMCE editor for content. This makes it more difficult to do complex layouts and styling without writing CSS. I wrote a small plugin to add support for the Gutenberg block editor.

    function add_gutenberg_support_to_boxzilla( $args, $post_type ) {
    if ( 'boxzilla-box' === $post_type ) {
    $args['supports'][] = 'editor';
    $args['show_in_rest'] = true;
    }
    return $args;
    }
    add_filter( 'register_post_type_args', 'add_gutenberg_support_to_boxzilla', 10, 2 );

    It sort of works but has various issues with block settings being ignored. For example, block styles from GenerateBlocks don’t render. Even trying to center a button block is ignored.

    Do you plan to add (even optional) support for Gutenberg in the future?

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Author Danny van Kooten

    (@dvankooten)

    Hey @weareknights,

    I’m sorry for the late reply, but thank you for sharing that snippet. That’s really helpful!

    Yes, I absolutely intend to eventually support Gutenberg.

    Best, Danny

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