Boxzilla Support for Gutenberg
-
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!
- You must be logged in to reply to this topic.