Issue #1019Opened April 9, 2018by faizansaiyed0 reactions

[Issue] Body Background color does not change second time.

Question

Hey, I'm using [email protected].

I'm having an issue with body CSS stylings.

My scenario:

I'm opening a blank file from local file system. I changed body background color to #ff0000 and saved the file. File is saved properly with css as of body{background-color:#ff0000} when I opened that file in text editor locally.

But when I opend that same file in GrapesJS editor again, now my code shows body{background-color: rgb(255,0,0)} . And when I update body color to #00ff00 then a new body style is defined above the body{background-color: rgb(255,0,0)} with body{background-color:#00ff00} and my body backgroud color remains same old to rgb(255,0,0) as it overrides the new value of #00ff00.

How to resolve?

Also body{margin:0} is added everytime automatically. How to prevent?

Answers (3)

faizansaiyedApril 9, 20180 reactions

Maybe related to #552

artfApril 12, 20180 reactions

Hey thanks Faizan, as you already realized, we aware of this issue, therefore I close this one and suggest you to follow it there (subscribe to it)

lock[bot]September 17, 20190 reactions

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.

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...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.