Extend the Block.json specification to be able to restrict blocks to particular templates #30679
Labels
[Feature] Block API
API that allows to express the block paradigm.
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
With the addition of theme blocks such as Archive Title block, Term Description, or Post Categories among others, the inserter offers, both in the post and template editors, a number of blocks that don't work as intended unless they are inserted in specific templates. For instance, an Archive Title block should only be available when editing an archive template.
What is your proposed solution?
Extending the
block.json
API to either:The text was updated successfully, but these errors were encountered: