-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Labels
[Block] NavigationAffects the Navigation BlockAffects the Navigation Block[Feature] Block VariationsBlock variations, including introducing new variations and variations as a featureBlock variations, including introducing new variations and variations as a feature[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
What problem does this address?
Currently there is no way of determining the allowed block types for a variation of a parent block (i.e. limiting the allowed blocks for a Navigation block variation to only support core/navigation-link
).
What is your proposed solution?
Add support via an allowedBlocks attribute (like the group block has) to allow developers to define the supported block types on each instance, making it also changeable per instance. This would be more reliable, as the allowed block types would be stored throughout a block variation instance’s life.
Metadata
Metadata
Assignees
Labels
[Block] NavigationAffects the Navigation BlockAffects the Navigation Block[Feature] Block VariationsBlock variations, including introducing new variations and variations as a featureBlock variations, including introducing new variations and variations as a feature[Type] EnhancementA suggestion for improvement.A suggestion for improvement.