diff --git a/src/lib/components/common/RichTextInput.svelte b/src/lib/components/common/RichTextInput.svelte index 3e3f79a55..8200154fa 100644 --- a/src/lib/components/common/RichTextInput.svelte +++ b/src/lib/components/common/RichTextInput.svelte @@ -158,6 +158,10 @@ const newValue = turndownService.turndown(editor.getHTML()); if (value !== newValue) { value = newValue; + + if (value === '') { + editor.commands.clearContent(); + } } }, editorProps: {