Gutenberg Blocks have fewer options when Pro is activated

Hi @charlie!

I like using Gutenberg for posts, but I noticed that it has far less options with Pro activated. To illustrate, here is the “Group” block without Pro activated:

And this is with Pro activated:

As you can see, important parts are not there.

Is this on purpose? Is it possible to reactivate Gutenberg fully, for selected post types such as Posts?

Thanks!

1 Like

I didn’t find a way to control that “Inner blocks…” or get that showing up. For the most part we add in most of the support in the WP docs. The following adds some missing controls there. I can add a Theme Option for enabling this if it adds extra styles we don’t need in CS itself. Which theme were you comparing it to for my reference?

add_action("after_setup_theme", function() {
  add_theme_support( 'align-wide' );
  add_theme_support( 'wp-block-styles' );
  add_theme_support( 'editor-styles' );
  add_theme_support( 'block-template-parts' );
  add_theme_support( 'border' );
  add_theme_support( 'appearance-tools' );
  add_theme_support( 'responsive-embeds' );
  add_theme_support( 'custom-spacing' );
  add_theme_support( 'custom-line-height' );
  add_editor_style( 'style-editor.css' );
  add_theme_support( 'link-color' );
  add_editor_style( 'assets/css/editor-style.css' );
});
1 Like

Hi Charlie! It was Twenty -Twenty-Three. I like how “Unnecessary” stuff is being removed in Cornerstone. I like the idea about the option to enable it as well. It would be just great not to have it on Pages by default, or even better, on other post types where it might not be needed.

I’d add these two as well, as they are pretty important:

add_theme_support( 'blockGap' );
add_theme_support( 'layout' );

Thanks!

1 Like

Okay thanks for those extra lines. And yes controlling the post type for this would be nice. Curious how much Gutenburg support matters to others as well. Next poll I would love to get a gauge on plugin / integration importance.

1 Like

I’d love to see support for gutenberg blocks in posts, full width images, being able to use certain blocks and templates for posts. Gutenberg is great for blog posts, elsewhere within Wordpress… no. It’s a great shame you haven’t added it here.

As in you want to use blocks in Cornerstone or want the theme support added that was mentioned above? When I wrote that it wasn’t easy to add extra theme options, but I’m sure I could get you some toggles to turn on blockGap and layout. I find myself wanting to disable the blocks styles entirely when a site is entirely in Cornerstone.

Full Width Image would be a nice prefab in Cornerstone, it’s a little confusing going into the width controls on an image element.

1 Like

Circling back to this topic. I do not see more options in the Gutenberg blocks, it is still very limited to the point that it is almost impossible to use it. For example, headline elements do not allow to pick the headline level.
Use case for us: we have a marketing team that makes Poststraße with the Gutenberg Editor, the posts are then pulled into cornerstone layout via “The content”.

Did you mean to say that your code snippet should be added to the child theme? I understood that you added it to pro by default.
Thank you!

Yes it currently still needs to be added to a child theme. This doesn’t really come up much, but with some changes I have done to Theme Options I can more easily add a control for this in the future. Have a great day.