Issue #2086💬 AnsweredOpened June 18, 2019by megarg0 reactions

Defining CSS in style manager

快速解答by artf

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

Read full answer below ↓

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)

artfJuly 2, 2019

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.

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 →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.