-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Can't create a card Block Variation for the Group Block #67374
Copy link
Copy link
Closed as not planned
Labels
[Block] GroupAffects the Group Block (and row, stack and grid variants)Affects the Group Block (and row, stack and grid variants)[Feature] Block APIAPI that allows to express the block paradigm.API that allows to express the block paradigm.[Status] DuplicateUsed to indicate that a current issue matches an existing one and can be closedUsed to indicate that a current issue matches an existing one and can be closed[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Metadata
Metadata
Assignees
Labels
[Block] GroupAffects the Group Block (and row, stack and grid variants)Affects the Group Block (and row, stack and grid variants)[Feature] Block APIAPI that allows to express the block paradigm.API that allows to express the block paradigm.[Status] DuplicateUsed to indicate that a current issue matches an existing one and can be closedUsed to indicate that a current issue matches an existing one and can be closed[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
I try to register a BlockVariation like so:
I can insert the variation in the editor, but it is not active after I insert it.
My guess was that there might be a conflict with the default group:variation.
gutenberg/packages/block-library/src/group/variations.js
Lines 62 to 73 in b54d1fe
So i try to give a stronger isActive specification, but it does not work for me.
Do i miss something?
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.