Issue #910πŸ’¬ AnsweredOpened February 28, 2018by tommedema1 reactions

Estimation of complexity to support existing html pages without predefined CSS structure?

Quick answerby tommedema❀ 1

@artf thanks, I see. I actually like that you rely on the browser's CSS parser because I am already noticing performance issues with large templates. If you also rely on something like postcss I fear that performance may further degrade. I am currently testing Grapes with a large variety of templates. Will compile a l...

Read full answer below ↓

Question

I have a large amount of static websites, some which have been developed quite a while ago (using Bootstrap etc.) and some which have been developed more recently (using CSS grid etc.). Some use inline styles, some use class based styling, some style based on component hierarchy (#id > div > ul > li for example), some immediately style elements by the html component name (e.g. form), and others use a combination of all these. I believe that Grapes works solely with BEM-like CSS styling. I.e. each component has its own class. Is this correct? In addition, some of these static sites depend on l...

Answers (3)

tommedemaβ€’ March 4, 2018

@artf thanks, I see. I actually like that you rely on the browser's CSS parser because I am already noticing performance issues with large templates. If you also rely on something like postcss I fear that performance may further degrade. I am currently testing Grapes with a large variety of templat...

artfβ€’ March 2, 2018

I believe that Grapes works solely with BEM-like CSS styling. I.e. each component has its own class. Is this correct? Is the "selector/class viewer" which is only able to let you edit styles of class-based selectors, like .class1 .class1.class2 but GrapesJS should import all your rules without any...

tommedemaβ€’ March 2, 2018

@artf Thanks for the answer! I think I may need to explain my use case more. It's not always realistic to expect someone importing a template to define what CSS comes from external libraries. The reason for this is that typically CSS is compiled and minified to a single bundle. So, bootstrap rules...

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 β†’

Related tutorials

In-depth guides on the same topic.

All tutorials β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.