Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: !important is added to every component styles #6357

Open
2 tasks done
Harshsne26 opened this issue Dec 13, 2024 · 0 comments
Open
2 tasks done

BUG: !important is added to every component styles #6357

Harshsne26 opened this issue Dec 13, 2024 · 0 comments

Comments

@Harshsne26
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant