Issue #1740💬 AnsweredOpened January 22, 2019by ateebahmed0 reactions

CSS properties set on id elements not saved v0.14.50

Quick answerby ateebahmed

in editor config, set avoidInlineStyle to 1. From demo page latest configurations, I updated the library but saw this change on demo page now. Thanks

Read full answer below ↓

Question

When I try to put background color on a 1 column row element, it is inlined in the editor and not bind with id, it has unique id, and when I save the HTML and styles json and render it back then its not saved either and the final HTML, if I open the Export option, it is there in CSS bonded with id but somehow the styles json does not have it as I put HTML and styles json back into the editor when I get it from DB. I tried to reproduce the issue on demo page but there whenever I set a property on an id element, it is already bonded with id and even on refresh it persists. this is my configurat...

Answers (2)

ateebahmedJanuary 22, 2019

in editor config, set avoidInlineStyle to 1.

From demo page latest configurations, I updated the library but saw this change on demo page now.

Thanks

lock[bot]January 24, 2020

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

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 →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.