Apply changes in style mager to one class
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)
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 #1821
[QUESTIONS] How to apply the style changes to the ID instead of the class?
Hi, I have two elements with the same classes. I want to apply style changes with style manager to one of these two elements. I add ID but...
Issue #1817
Change HTML content while block is render in editor
Hello @artf I have one block into block manager like As per above script inside the block, i want to add dynamic HTML content while this bl...
Issue #1077
How we can remove the selected component html
Hi artf, Please let us know how we can remove the selected component html like I have one button html and when i selected that "gjs-comp-se...
Issue #871
[BUG] Wrong stylemanager options first time a component/block is selected
Hello, I have noticed the following buggy behaviour on the style manager:Using a local copy of GrapesJS (ver 0.14.5) . Tested in Chrome and...
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.