diff --git a/frontend/text-editor/src/editor/controllers/StyleDeclaration.js b/frontend/text-editor/src/editor/controllers/StyleDeclaration.js index 3b2bf5d88d..fcca9e39b4 100644 --- a/frontend/text-editor/src/editor/controllers/StyleDeclaration.js +++ b/frontend/text-editor/src/editor/controllers/StyleDeclaration.js @@ -81,6 +81,8 @@ export class StyleDeclaration { return this.setProperty(name, value); } else if (currentValue === "" && ["initial", "none"].includes(value)) { return this.setProperty(name, value); + } else if (currentValue !== value && name === "--fills") { + return this.setProperty(name, value); } else if (currentValue !== value) { return this.setProperty(name, "mixed"); }