Issue #1560💬 AnsweredOpened November 3, 2018by froderf0 reactions

Apply changes in style mager to one class

Quick answerby artf

https://github.com/artf/grapesjs/issues/1558

Read full answer below ↓

Question

Hi @artf, I noticed that when I used the style manager it applies the style to the whole class of the component selected

for example if i have a component that has class like this <div class="class1 class2 c1234"></div>

the style manager applies the style to

.class1 .class2 .c1234{
   color: #222222;
}

is there a way to apply the style only in ".c1234" class? something like this via style manager

.c1234{
 color: #222222;
}

Answers (2)

lock[bot]November 3, 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.