I am trying to design a custom Gutenberg block using InnerBlocks with a template. I want to disable each control in the toolbar of a 'paragraph' innerblock in that template. I have searching but I didn't find a solution. Maybe it's more understandable with this code:
edit: function( props ) {
return el('div',{className: props.className},
el( InnerBlocks,{
template:[
[ 'core/image', {} ],
[ 'core/heading', { placeholder: 'Book Title' } ],
[ 'core/paragraph', { placeholder: 'Summary' },
/*
I want to disable the toolbar of this innerblock
Of course the below code is not possible into a template of innerblocks
[BlockControls,{ key: 'controls' }, []],
*/
]
],
templateLock: "all",
})
);
}
Thanks a lot.