How to limit the selection of the first level block in Gutenberg editor
Create a new custom block, lets call it CustomSecondary, that contains an InnerBlocks instance. When registering this block set it’s parent property to your main custom block and registerBlockType( ‘custom-secondary’, { parent: [‘your-main-block], edit: () => ( <InnerBlocks />) { .. your other properties } }); This will make it so this block can only … Read more