-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Labels
Needs DevReady for, and needs developer effortsReady for, and needs developer efforts[Feature] Block APIAPI that allows to express the block paradigm.API that allows to express the block paradigm.[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?
Part of #41236.
It would be very interesting to have support for the ancestor
setting for the block variations.
In WooCommerce, we use a variation of the Query Loop
block called Products
. To be consistent with the naming and offer a good UI/UX, we created a variation of the Post Title
called Product Title
.
We can't limit the block visibility without the' ancestor' setting. Users can add the Product Title
to a post/page block. Being a variation of the Post Title
, the behavior is the same as this latter, but for the user could be weird.
What is your proposed solution?
Having the possibility to change the visibility of the variation via the ancestor
setting fixes this use case.
ntsekouras and alexandrebuffetwidoz
Metadata
Metadata
Assignees
Labels
Needs DevReady for, and needs developer effortsReady for, and needs developer efforts[Feature] Block APIAPI that allows to express the block paradigm.API that allows to express the block paradigm.[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.