[Question] Defining CSS in style manager
Question
Can we define CSS in editor style manager. Primarily:
- What is "state" and "class" in editor style manager
- If I define a custom class to a element. How to define CSS for that class. What is I want to assign the same class to another element so there should be a mechanism to define CSS at class level and not at element level (one class can be assigned to multiple elements)
regards -Ashish
Answers (1)
It works already like this, if you select a component with a class you will edit the CSS style assigned to that class and you can add it to other components to see the same style
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2586
[Question]: How update style manager panel using few devices and custom css class
There is a custom class added to simple grapesjs project: If there is no devices and user adds the class into the selectors field Settings...
Issue #2378
[QUESTION] Modifying global CSS in style manager
We want to achieve the following:Mark our block HTML elements with some classes like:Add some styles that define CSS classes like:Using Gra...
Issue #2706
[QUESTION] Unique ID on block content without inline style
Hi All, I made a custom block manager element, but when the element is edited, it applies the style to the class, which means all the same...
Issue #3004
QUESTION : custom style properties to change class
Hi, Thanks for this good editor. In my project, I want to adjust classes of components using the style manager. For example, I am using boo...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.