css issue in getCss
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 export
- Click on the flask icon, edit some properties
- Look at the export, you should have
*andbodyduplicated
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
BUG: 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...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.