ultimate-addons-for-gutenberg
ultimate-addons-for-gutenberg copied to clipboard
Global Settings for Blocks
Is your feature request related to a problem? Please describe.
There are many blocks that have settings. For example, the Table of Contents block has settings for Headings and Scrolling. The problem is these settings must be set for every single instance of the block.
Describe the solution you'd like
Settings would be better set at a global level but also include the ability to be overridden on the instance level. For example, the default Headings to include may be H2, H3, H4. Then, on a specific page, you want to also include H5, you can override the setting.
Another example is the title of the block, by default it is "Table of Contents" but if you have a non-English site and want to rename it, you must edit this text on every single post. If you want to change that text later, you have to edit every single post.
Describe alternatives you've considered
There are alternative plugins like LuckyWP Table of Contents that provide options to set defaults for all blocks and allow those default to be overridden.
Additional context/screenshots
It would also be very helpful to enable configuration of CSS/style (color, font, type, spacing, etc.) settings at the global level for UAG blocks. Though one might argue is the the responsibility of the theme, the fact that blocks allow styles to be modified shows that themes are not always going be the place where styles are universally defined. In fact, even Astra does not provide sufficient theme customizer options to configure defaults for all UAG blocks.
Is there any way that I could help with this? Is there already a plan of how this could be implemented?
I could also desperately use this feature. For example, a width can be specified for the blocks of "Getwid" in the general settings. That would be helpful. Of course, it would be even better if default values could be specified for the individual blocks. For example, it is annoying if you have to reset the paddings for every "section" block. This can't be solved with a stylesheet either, because then the paddings can't be set at all. For the section block, it would also help if different classes were set for the content width (boxed or full width). This also applies to other properties. This makes it easier to overwrite the properties.
By the way, the "Kadence Blocks" are exemplary for what I would like to see. There is an icon in the editor area at the top right to access these default settings. And these can be set very specifically.