I would like to add styles on top of whats available in the package
This does the job. https://github.com/artf/grapesjs/wiki/API-Style-Manager Warm regards Milap
Read full answer below ↓Question
Hello Folks, I am new to this framework and just started exploring it for one of my project.I would like to add some custom styles on top of whats available from the package. This is what I am trying.It is removing everything but what I kept below and what I understood is, basically by doing below I am overwriting whats avaialble. styleManager : { sectors: [{ name: 'Dimension', buildProps: ['width', 'min-height'], properties:[{ property: 'width', // Use 'property' as id min: 30 }] },{ name: 'Extra', buildProps: ['background-color', 'box-shadow'] }] }, Warm regards Milap
Answers (2)
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 #1303
I need to add carousel block with flex slider
Hi, artf I would like to add some new block with custom slider when user dragged the slider into canvas need to show some popup with availa...
Issue #2097
New views question
Hello all, Is there is any simple way to add a new view right next to the style manager? I would like to create a new view that will show s...
Issue #544
Add select with optgroup
Hello @artf I have recently started using grapeJs and found it awesome. Can you please help me on How can I add dropdown(select) with optgr...
Issue #1078
add custom date time picker for countdown
For countdown we would like to add our custom datetime picker not just the html one.We tried adding click event in its trait this way trait...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →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.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.