You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
.
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
GrapesJS version
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
.
Code of Conduct
The text was updated successfully, but these errors were encountered: