Understanding of how style manager implements and handle CSS
Issue 1 & Issue 2 Please provide the exact steps on how you export and import the templateIssue 3 Sorry but "in some cases" doesn't help here. You have to explain exactly what you're doing and what you expect
Read full answer below βQuestion
Issue 1 I made a page using grapesJS and then I exported the page and then imported it back. On importing whatever styles I had applied I am not able to see the styles in the style manager.Issue 2 Due to issue 1 on applying new styles since I do not see what earlier styles I applied, in some cases, I can see them in the view but on deploying the page I am not seeing the changes done. (p.s. I think probably it's due to CSS conflicts. 2 or more classes are being applied and both of them are trying to change the same attribute, thus choosing one). So on what basis is class is being chosen and is...
Answers (2)
Issue 1 & Issue 2
Please provide the exact steps on how you export and import the template
Issue 3
Sorry but "in some cases" doesn't help here. You have to explain exactly what you're doing and what you expect
Issue 1 & Issue 2Please provide the exact steps on how you export and import the template By using the default option provided in grapesJS to export the HTML and CSS and importing using the import button on the grapesJS toolbar.Issue 3Sorry but "in some cases" doesn't help here. You have to explain...
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2388
[Question] - How to import styles from <link> to be rendered when dragging block to canvas
My situation: I'm slowly importing some of my custom made UI components in ReactJS to GrapesJS. Now, I am able to render the component prop...
Issue #913
[Question] Using Style tag instead of css
Hi, I've been taking a look inside of the dom_components, but cant seem to figure out how to manually override the styling aspect. I need a...
Issue #3627
[QUESTION]: I'm trying to duplicate the page, but the styles are not geting applied due to the Ids, changes to -2,-3 at the end.
This is what my function looks like. I am trying duplicate the page, the HTML part is fine but as css is applied through ids, when a new pa...
Issue #3116
[HELP WANTED] How to load css that can viewed in code viewer and also exported while saving
Hi :wave: I am trying to load some CSS within the editor as part of the theme, I am able to link stylesheets as part of loading but the pro...
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.
Tutorial
How to Build a Drag-and-Drop Page Builder in Angular Using GrapesJS (Step-by-Step Guide + Code)
Build a visual drag-and-drop page builder in Angular with GrapesJS. Learn setup, plugins, and backend saving in this full code guide.
Tutorial
Integrating GrapesJS into a Next.js App with @grapesjs/react wrapper
Seamlessly integrate GrapesJS with React, TypeScript, and Next.js using the official @grapesjs/react package for modern app development.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.