diff --git a/client/src/app/site/config/components/config-field/config-field.component.ts b/client/src/app/site/config/components/config-field/config-field.component.ts index 0696ee6e3..77a98cf06 100644 --- a/client/src/app/site/config/components/config-field/config-field.component.ts +++ b/client/src/app/site/config/components/config-field/config-field.component.ts @@ -322,7 +322,10 @@ export class ConfigFieldComponent extends BaseComponent implements OnInit { } }); editor.on('Remove', ev => { - if (ev.target.getContent() !== this.translatedValue) { + // Do not save empty values on remove. This prevents losing the value on e.g. + // fast navigation, when the editor is not fully loaded. Then the content is empty + // and would trigger an update with empty data. + if (ev.target.getContent() && ev.target.getContent() !== this.translatedValue) { this.update(ev.target.getContent()); } });