-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow all Gutenberg theme support options to be defined in theme.json #26901
Comments
Some of these are already possible:
From the convo, I presume the list of missing options should also contain: |
Thanks, I updated the list above. 👍 |
I wonder if for themes with theme.json "editor-styles", and "wp-block-styles" should be true by default. These are new themes being build and it seems like they should play well with all the styles a block contains. |
Yeah, I think that makes sense. |
It would be nice to include |
Does it make sense to have editor-styles on by default if the theme has no editor style file? post-thumbnails The block works without theme support being enabled, but without the setting in the document sidebar. I wonder if this is already working as intended. (#22313) |
+1 for alignement controls in theme.json (not only wide) |
Do we need something like this the other way around? Things like the new border settings, or the margin feature can currently only be used by FSE themes. |
For what reasons these are disabled by default? I mean shouldn't we take the opportunity of FSE themes (or themes with theme.json) to enable these automatically? Does it still make sense for these to be configurable, should they be opt-in or opt-out. |
Yeah, all of those seem like things we should enable by default for block themes. |
Fairly sure that |
It seems then that the only action required here is to add a setting that equates to |
Isn't |
yes |
Let's close this for now. |
Many of Gutenberg's
add_theme_support()
options are already available to define inexperimental-theme.json
:disable-custom-font-sizes
disable-custom-colors
disable-custom-gradients
editor-color-palette
editor-gradient-presets
editor-font-sizes
custom-line-height
custom-units
custom-spacing
experimental-link-color
The rest should be made available there as well:
align-wide
core-block-patterns
(opt-out)editor-styles
dark-editor-style
post-thumbnails
responsive-embeds
wp-block-styles
The text was updated successfully, but these errors were encountered: