grapesjs
grapesjs copied to clipboard
[Feature request] Add category on traits
Hi and thank's for your job !
It's possible to make traits under cateogories like blocks ? If it's possible, maybe use the Category object like the BlockManager ?
Categories on BlockManager work fine, so if TraitManager add the same system of category, it's perfect !
What it's the best method for you for implements this feature ? We are ready to develop this feature and make PR.
Thank's
Hi @WebEtSolutions follow my indications posted on your PR, so if we need to implement the same logic in Traits we have to abstract it from Blocks
Hi, no problem we will work for this PR.
Hi,
You can check PR on https://github.com/WebEtSolutions/grapesjs/tree/%231806
We have a question for the PR.
CategoryView and Category are moved on categories folder and BlocksView and TraitsView use the new CategoryView.
Classes for the render of categories change from block-c(category)(no-cat) to items-c(category)(no-cat)
So there are the same code on TraitsView and BlocksView.
What's for you the best way for reformat BlocksView and TraitsView ?
Thank's for your work.
Web&Solutions Team
Do we have this feature yet?
Hi there! Is this feature implemented? Would be pretty useful, I have some components with a couple dozen traits. Thanks!
That would bery very intersting indeed. I am happy to help if necessary :)
+1
+1
+1
Will be available in the next release, Thanks @amirrahmani76 for the PR ❤️