How to disallow a certain custom gutenberg block outside of an InnerBlocks block?
In the slider-item you can specify parent must be slider. That way, the slider-item cannot be used outside of your slider container block. Something like: registerBlockType(‘ajk/slider-item’, … parent: [‘ajk/slider’], https://wordpress.org/gutenberg/handbook/block-api/#parent-optional