Block Editor: Allow a theme to override global defaults for editor features #22655
Labels
[Feature] Themes
Questions or issues with incorporating or styling blocks in a theme.
[Package] Block editor
/packages/block-editor
[Status] In Progress
Tracking issues with work in progress
[Type] New API
New API to be used by plugin developers or package users.
Description
Related to #22622.
Follow up for #22291 where initial handling for block editor features were introduced.
Usage:
At the moment this feature can be only controlled through the defaults set for the Gutenberg plugin in
lib/exeperimental-default-theme.json
file in thefeatures
section of theglobal
settings. On the block level, it can be controlled throughsupports
.The idea is to take it to the next level – take & merge data from the
global
subtree of theexperimental-theme.json
with the existing data inlib/exeperimental-default-theme.json
.The full proposal from @nosolosw in #22291 (review).
The text was updated successfully, but these errors were encountered: