New section in View Container
Hello,
I want to add a new section in view container. Lets say, when we click Style manager it opens style manager. I want to create similar behaviour. Need to show some pre-defined templates which should be shown under that section.
Can you please help me out?
To add more buttons there
editor.Panels.addButton('views', {
id: 'yourBtnId',
className: 'fa fa-paint-brush yourClass',
command: 'yourCommand',
attributes: { title: 'Some title'},
})
Then create yourCommand Command, which might be very similar to
https://github.com/artf/grapesjs/blob/dev/src/commands/view/OpenBlocks.js
Hey did you manage to create that new templates view? If so I would like some pointers as I try to do something similar
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.