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
Vanilla GrapesJS vs GrapesJS With Plugins: What You Actually Get Out of the Box (2026)
New to GrapesJS? See exactly what the stock editor gives you, where it falls short, and which plugins close the gaps β a beginner-friendly 2026 comparison
Tutorial
Lighthouse for GrapesJS: Audit Accessibility and SEO Without Leaving the Editor
Live WCAG 2.1/2.2 accessibility auditor + SEO manager for GrapesJS. Every finding is bound to the exact component β click to select, then one-click fix.
Tutorial
GrapesJS DevTools: A Developer Panel Inside Your Editor
If you've ever debugged GrapesJS with console.log(editor.getSelected()) and a dozen throwaway event listeners β this post is for you.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.