diff --git a/apps/client/src/widgets/type_widgets/editable_text.ts b/apps/client/src/widgets/type_widgets/editable_text.ts index 9331cde17..005ac1ad4 100644 --- a/apps/client/src/widgets/type_widgets/editable_text.ts +++ b/apps/client/src/widgets/type_widgets/editable_text.ts @@ -336,6 +336,11 @@ export default class EditableTextTypeWidget extends AbstractTextTypeWidget { } getData() { + if (!this.watchdog.editor) { + // There is nothing to save, most likely a result of the editor crashing and reinitializing. + return; + } + const content = this.watchdog.editor?.getData() ?? ""; // if content is only tags/whitespace (typically
), then just make it empty,