Issue #615Opened December 6, 2017by ajaysofto0 reactions

Apply style to child classes

Question

How we can add style to child classes of editorform? var forminputClass = cssComposer.add([editorform, forminput]); Above code will apply css to div that have both of these classes like .editorform.forminput What we have to do to define space between these class to make editorform as a parent?

Answers (2)

artfDecember 8, 20170 reactions

@ajaysofto GrapesJS is a class-based style editor so if you import that kind of selector you will not be able to select it in Style Manager, so I recommend to assign specific classes to your elements

lock[bot]September 18, 20190 reactions

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...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.