Change css editor behavior
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.
Read full answer below βQuestion
In the "Export" codemirror modal, I would like to change the default behavior of the CSS part. Currently it removes the "<style>" opening and closing tags and adds:
- { box-sizing: border-box; } body { margin: 0; }
I would like to keep the <style> tag and remove the added styles. How can I?
Answers (1)
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 #1877
Custom styles that add/remove custom classes?
Currently, all the style manager values that you change for an element simply update a <style> tag inline in the HTML. Is it possible to ch...
Issue #453
Previously saved css rules not showing in Style Manager
Previously saved css rules using remote method are not showing in Style Manager. remote json response {"gjs-assets":"","gjs-css":"*{box-siz...
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...
Issue #859
Change canvas style
Hi there, I have some question about canvas style, in this case i have config like this. By default i use css with name builder-desktop.css...
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.