New feature
Question
Hi Arthur, I have developed a new feature that is the possibility to add tabs inside blocks panel (this is optional what it means that if you don't add any tab, blocks panel will continue behaving as before) and these tab could have their own categories and blocks. My question is if would be possible to add this feature in core GrapesJs due to I had to develop a brand new manager called TabManager. In case it would be only possible to add as a plugin, how can I add this new manager?
The idea is that doing
tabManager:{
default : 'content',
tabs: [{
id: 'tab1',
label: 'Tab 1',
attributes: { class:'gjs-fonts gjs-f-b1' }
},{
id: 'tab2',
label: 'Tab 2',
attributes: { class:'gjs-fonts gjs-f-b1' }
}]
}
And adding the tab id inside block definition as below:
label: 'Block',
category: 'Basic',
tab: 'tab1',
attributes: { class:'gjs-fonts gjs-f-b1' },
content: `<div style="padding-top:50px; padding-bottom:50px; text-align:center">Test block</div>`
We get the following result:

If we switch to the other tab you can see the result:

Answers (2)
Just check here https://github.com/artf/grapesjs/issues/499 :)
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.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1378
Custom Tabs
Hey, I just wanted to know, whether it is possible to add a new tab to the grapes editor from a plugin. Like the Blocks, Style or Traits do...
Issue #499
Tabs inside Panel
Hi @artf, As you must know, at my company we are creating a product based on GrapesJS. We are trying to keep as close as possible from Grap...
Issue #637
Add new block without any hard coding
Hi @artf , We are gonna to embed this grapes editor into our portal as an Email editor. As the Email will be sent by the batch process to c...
Issue #494
Place block as component programmatically
I've created a custom type, and a block is it possible to insert it into DomComponents by name or any other means? I don't want to be drag'...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.