Issue #1179💬 AnsweredOpened June 6, 2018by mfloressosa1 reactions

Cannot load styles saved as !important

Quick answerby artf1

I've already made a fix for this, it will be available in the next release

Read full answer below ↓

Question

Hi! I'm trying to make all the user-set styles have the "!important" flag, in order to prevent some other previous existent classes to override it (eg bootstraps's text-muted). I think I almost have it working well. However, I'm having a problem while trying to re-open a previously exported design. I used this #1056 to make all new styles be added with !important in every property. This works fine, and it is indeed added in both, the canvas and the exported CSS. The problem comes when I try to re-open the exported design. As every property now have the !important text after the actual style v...

Answers (3)

artfJune 8, 2018

I've already made a fix for this, it will be available in the next release

mfloressosaJune 8, 2018

Great! I'll be waiting for this release to come out.

Thanks!

lock[bot]September 17, 2019

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.