Duplicate CSS
The issue you've encountered with duplicate CSS rules, specifically flex-wrap:wrap; for the .row class within the @media (max-width: 768px) block, is a known behavior that can occur in GrapesJS under certain conditions, often related to how responsive styles are applied and managed. While GrapesJS's StyleManager and C...
Read full answer below ↓Question
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? 116.0.5845.187 (Official Build) (64-bit) Reproducible demo link https://jsfiddle.net/bw4Lxp6c/ Describe the bug How to reproduce the bug? When I add a column it generates duplicate CSS in @media (max-width: 768px) What is the expected behavior? The CSS code should be generated once. What is the current behavior? Duplicating CSS code in @media (max-width: 768px) If is necessary to execute some code in order to reproduce the bug, paste it here below: Code of Conduct [X] I agree to follow this projec...
Answers (1)
The issue you've encountered with duplicate CSS rules, specifically flex-wrap:wrap; for the .row class within the @media (max-width: 768px) block, is a known behavior that can occur in GrapesJS under certain conditions, often related to how responsive styles are applied and managed. While GrapesJS'...
Related Questions and Answers
Continue research with similar issue discussions.
Issue #5173
Editor.Css.setRule API not working as expected, it is not updating the rule existing rule.
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Version 112.0.5615.137 (Official Build) (a...
Issue #5424
`component:styleUpdate` event is not fired
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Chrome 116.0.5845.187Reproducible demo link...
Issue #6659
Symbol styles not synced
GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Firefox 145.0 (64-bit) Reproducible demo l...
Issue #5990
When you delete a component, duplicate classes between components will be deleted.
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 126.0.6478.127(Windows) Reproducibl...
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
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.
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
Big Updates: TinyMCE 8 and Placeholder 2.0 for GrapesJS
In May we shipped major updates to two of our most popular GrapesJS plugins — TinyMCE Inline Text Editor and Placeholder.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.