diff --git a/client/src/views/template/fields/style.js b/client/src/views/template/fields/style.js index 7c0a4314de..87ca98bfb6 100644 --- a/client/src/views/template/fields/style.js +++ b/client/src/views/template/fields/style.js @@ -179,7 +179,7 @@ class TemplateStyleFieldView extends TextFieldView { fetch() { const data = {}; - data[this.name] = this.editor.getValue(); + data[this.name] = this.editor.getValue() || null; return data; }