Create Block variation in custom block #64587
mKult-admin
started this conversation in
General
Replies: 1 comment
-
Not that I'm aware of. Perhaps this would be worth making an issue that suggests it as an enhancement. A possible workaround might be having the custom block transform the core block into the variation anytime one is inserted within but that’s probably less than ideal. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In Edit i tried to set ALLOWED_BLOCKS to the name of the block variation. In the editor i get no result. If set ALLOWED_BLOCKS to the core/block name i get the original block and the variation.
Is there a way to get only the variation?
Beta Was this translation helpful? Give feedback.
All reactions