Making my block variation default not working
-
Hi there,
I am creating a block variation and I’m following this tutorial (https://fullsiteediting.com/lessons/block-variations/). It works, but when I want to make the variation the default one it doesn’t work.
I am using this code:
wp.blocks.registerBlockVariation( 'core/group', { name: 'full-width-group', title: 'Full width group', attributes: { align: 'full' }, isDefault: true } );
Adding
isDefault: true
doesn’t work at all. I am missing something?
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Making my block variation default not working’ is closed to new replies.