Issue #1125💬 AnsweredOpened May 22, 2018by milapshah151 reactions

I would like to add styles on top of whats available in the package

Quick answerby milapshah151

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)

lock[bot]September 17, 2019

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.

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.