Issue #6357Opened December 13, 2024by Harshsne260 reactions

BUG: !important is added to every component styles

Question

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

Chrome

Reproducible demo link

https://codepen.io/Harshsne/pen/YPKwRBg

Describe the bug

How to reproduce the bug?

  1. Add row component from blockmanager.
  2. change its width in stylemanager .(!important is added because its default width has 100% !important).
  3. Now add an textbox change its width.

What is the expected behavior? width should not be added with !important.

What is the current behavior? width is added with !important.

After changing row's width ,if we change width to any component in the canvas the width is being added with !important . 20

Code of Conduct

  • I agree to follow this project's Code of Conduct

Answers (0)

No answers yet.

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.