kadence-blocks icon indicating copy to clipboard operation
kadence-blocks copied to clipboard

Global Defaults for Block Settings

Open rchipka opened this issue 6 years ago • 2 comments

It'd be nice to have settings page where block attribute defaults can be configured.

I'd particularly like to see defaults for Row paddings/margins.

It would also be nice if each setting had an enabled/disabled checkbox.

This way, we can configure a default values for our theme and then choose whether or not to allow that default setting to be configured by the user inside the Gutenberg editor.

This could also be configured with an API, like the built-in PHP or JS filter hook systems or even the add-theme-support API.

Thanks for the great general-purpose block plugin. This plugin has been the best one so far in terms of following Gutenberg best-practices as well as being theme developer friendly.

rchipka avatar Dec 04 '18 00:12 rchipka

Hey, Thanks for posting! I'm going to do some research to try and determine the best ways to accomplish along with possibly adding profiles where you could disable settings for some users.

kadencewp avatar Dec 04 '18 18:12 kadencewp

I've started the initial process of adding Kadence Blocks Controls, which allow you to define defaults for blocks as well as define which users can see block settings.

See here: https://www.kadenceblocks.com/tab-settings-visiblity/

I'm interested in your take on this.

Ben

kadencewp avatar Feb 20 '19 01:02 kadencewp