How to stop css repeatition
Update your grapesjs and next time, please, create a live demo of your issues
Read full answer below ↓Question
hi @artf here is my code of Export-template i make it editable Also, i add a media-query to display in view code with this editor.setComponents(mycss) when i update something form this button it'll work fine but i am using it in my rails app by including minified version . and when update something in rails all media-query css got repeated Can you please suggest me something to handle this.??? Thanks
Answers (3)
Update your grapesjs and next time, please, create a live demo of your issues
Thanks @artf
yeah definitely :)
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1836
How to add !important in all the generated apis
Hello @artf, While i am going to edit some html from editor with the help of css then i need to add !important into all the css which is ch...
Issue #382
Store the html and inline css in Editor.Store()
I am trying to store the html and inline css , can you please in how to pass it to editor.store() function. @artf
Issue #1691
How to use variable/function outside of the script
Hello @artf , How can i access the variable as well functions which is outside of the script. My code is like, I am using angular.js(Angula...
Issue #1631
how to display Css in Code viewer in newsletter plugin?
Hi @artf i want to display my css in replace of protectedCss: '* { box-sizing: border-box; } body {margin: 0;}', how can i achieve in newsl...
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.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.