diff --git a/plume-front/src/editor.rs b/plume-front/src/editor.rs index 1bb2e934..94bbbb59 100644 --- a/plume-front/src/editor.rs +++ b/plume-front/src/editor.rs @@ -397,7 +397,9 @@ fn init_editor() -> Result<(), EditorError> { content_val.clone(), false, )?; - content.set_inner_html(&content_val); + if !content_val.is_empty() { + content.set_inner_html(&content_val); + } // character counter let character_counter = Closure::wrap(Box::new(mv!(content => move |_| {