Issue #1366💬 AnsweredOpened August 15, 2018by blairpanek0 reactions

Duplicating CSS

快速解答by artf

@blairpanek I don't understand how to reproduce the issue, provide a live demo please

Read full answer below ↓

Question

On newest version of Grapesjs. I can replicate bug on both. Linux Ubuntoo, Moxilla. I expect that the css only shows up once, otherwise it'll be to much in the window for use when exporting it. Css gets duplicated. Duplication happens with @keyframes styles. So clear canvas drag tabs block onto canvas export import and css will duplicate.

In our version of grapes we also tried the protectedCss: '', didn't work either.

duplicate

Answers (3)

artfAugust 19, 2018

@blairpanek I don't understand how to reproduce the issue, provide a live demo please

no-response[bot]August 29, 2018

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

yomeshguptaOctober 13, 2018

@artf Great work on the project! However, I noticed that CSS inside media queries are repeating itself. Any idea why? Facing the same issue on my local machine too.

Happening on the demo page too : https://grapesjs.com/demo.html

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 →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.