Gutenberg editor add a custom category as wrapper for custom blocks

As we know by the provided API from Gutenberg we can create a custom block as

const { registerBlockType } = wp.blocks;

registerBlockType( ‘my-namespace/my-block’, {

})

but how do I create a wrapper(category like layout) around my custom blocks in gutenberg editor?
Let’s say I want to have a collector for my custom elements as slider, gallery …

Read more here:: Gutenberg editor add a custom category as wrapper for custom blocks

Leave a Reply

Your email address will not be published. Required fields are marked *