Closed tlatforlz closed 6 years ago
if (blocks.indexOf('video') >= 0) {
)'video',
Rebuild package. I guess it will work!
Actually there is an option for the purpose
var editor = grapesjs.init({
...
container : '#gjs',
plugins: ['gjs-blocks-basic'],
pluginsOpts: {
'gjs-blocks-basic': {
// Which blocks to add, just omit 'video'
blocks: ['column1', 'column2', 'column3', 'column3-7', 'text', 'link', 'image', 'map']
}
}
});
Thanks you @artf
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Hi, I'm using Basic Extensions Extensions in Grapesjs. I want hide "Video Block" in this Extensions. How I can do it ? Thanks.