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: #4010

Closed
2 tasks done
clonefunnels opened this issue Dec 11, 2021 · 0 comments
Closed
2 tasks done

BUG: #4010

clonefunnels opened this issue Dec 11, 2021 · 0 comments

Comments

@clonefunnels
Copy link

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

Chrome / Firefox

Reproducible demo link

https://www.teamfunnels.net/login.php demo demo

Describe the bug

When I use this code to make all style important....

editor.on('styleable:change', (model, property) => {
const value = model.getStyle()[property];
if (value.indexOf('!important') === -1) {
model.addStyle({ [property]: value + ' !important' });
}
});

I cannot undo changes made on layer manager. The only way to undo is to press the undo button. I cannot click the eyes to enable a layer after it has been disabled
bug
.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@artf artf closed this as completed in 54f3020 Dec 21, 2021
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