Is it possible to add StyleManager property for only class name
No style manager can only change style properties (CSS) for any other thing you have to use Traits
Read full answer below βQuestion
Thank for this awesome library.
I am gonna to add style controller to sector. This style will be for only one class name and won't set target. For example ".xxx-wrapper div.active button:before" (xxx will be identifier of component so that inside buttons will be controlled by this sector) I tried to find in document but I can't find. pls help. Thanks in advance.
Answers (3)
No style manager can only change style properties (CSS) for any other thing you have to use Traits
Thank you artf. so we can't use nested css selector (".xxx-wrapper div.active button:before") in cssCompose?
You can create any CSS Rule by using setRule method but only class-based are visible in Style Manager
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1135
[Question] Two html tags as one (link/button)
Is it possible to have two elements (div and lnik) and consider as a single? For example: there is the my following link block: <div class=...
Issue #1562
Question: styles management
I waonder if it would be possible n styles managemenet to get any way to change more than one property with an ony control Example: center...
Issue #1464
Customizing the Component Position
First of all thank you guys for this awesome library, And I have one Clarification that is how do i customize the drop position example if...
Issue #917
[QUESTION] Custom style properties per element
Is it possible to have custom style property UI per element. For example, consider that I want the font-size to be shown as textbox for tex...
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.