Issue #2258💬 AnsweredOpened September 9, 2019by angelocala940 reactions

Multiple Trait Manager Tabs

快速解答by artf

No, there is no available API to do so, someone tried already to implement categories in traits but being poorly implemented https://github.com/artf/grapesjs/pull/1790 I couldn't accept For now, the only solution would be to play directly with the DOM (eg. hide/move some traits by changing the category tab/select)

Read full answer below ↓

Question

I know that I can use appendToproperty to append the Trait Manager into a custom element.

traitManager: {
    appendTo: '.traits-container',
},

But there is a way to create more tabs and divide traits into these tabs by a category attribute?

Answers (1)

artfSeptember 14, 2019

No, there is no available API to do so, someone tried already to implement categories in traits but being poorly implemented https://github.com/artf/grapesjs/pull/1790 I couldn't accept For now, the only solution would be to play directly with the DOM (eg. hide/move some traits by changing the category tab/select)

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.