Css issue in getCss
I have the same issue, I create a small codesandbox https://codesandbox.io/s/snowy-wave-85dxo?file=/index.js Steps to follow,Look at the default exportClick on the flask icon, edit some propertiesLook at the export, you should have * and body duplicated Adding protectedCss: '' fix the issue for me
Read full answer below βQuestion
FYI: am using 0.15.3
i have loaded a html component into editor and saved for multiple times i noticed that how many times we load /edit and save the same html component that many times the css are appending even with same id, class etc

Answers (3)
I have the same issue, I create a small codesandbox https://codesandbox.io/s/snowy-wave-85dxo?file=/index.js Steps to follow,Look at the default exportClick on the flask icon, edit some propertiesLook at the export, you should have * and body duplicated Adding protectedCss: '' fix the issue for me
I bet youβve changed this parameters:

You save wrapper all the time
i didn't changed any properties (i.e exportWrapper , wrapperIsBody:) even i dunno where these properties are exist , can you tell me where i can see this properties and change the value of it
Related Questions and Answers
Continue research with similar issue discussions.
Issue #4837
HTML elements ids are incremented on different pages loaded in projectData
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Firefox 109 Reproducible demo link https:/...
Issue #3347
How can I get Uncompressed JS code for me to edit?
Hi, thank you for reviewing my problem. I want to use my own JSEditor to edit htmlγcss and js. 1γFirst, I use getHtml, getCss, getJs to dis...
Issue #2998
Insert HTML+CSS inline into [help wanted)
I have the nice ckeditor 4 editor built into grapesjs with this components: grapesjs: 0.15.8 grapesjs-preset-newsletter: 0.2.20 ckeditor.js...
Issue #1466
Editing Saved html editor.setComponents slider load issue
I am working on a project where i integrated grapesJs for users to build there templates, save them in database and edit these saved templa...
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 Production GrapesJS Editor: The Complete Walkthrough of Brief, Preset, Plugins, and Services
A complete walkthrough of building a production GrapesJS editor: how to choose a preset, pick plugins, and scope setup services without burning a sprint.
Tutorial
GrapesJS Inline RTE Plugins Update: CKEditor 5 v0.1.4 and Froala Inline Text Editor
CKEditor 5 Inline for GrapesJS v0.1.4 fixes Studio SDK toolbar clipping, iframe injection and link balloon bugs. Compare with Froala Inline β both $69.
Tutorial
Embed GrapesJS in Your SaaS: A Weekend Guide
Embed GrapesJS in your SaaS and ship a white-label page builder over a weekend. Honest tradeoffs, real code, and the plugins that close the UX gap.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.