diff --git a/crates/markdown_preview/src/markdown_preview_view.rs b/crates/markdown_preview/src/markdown_preview_view.rs index 7e8cc42dcf733350d40217268a776beabfc37817..07fbd94b2936f8c493454851357621edc7430bf2 100644 --- a/crates/markdown_preview/src/markdown_preview_view.rs +++ b/crates/markdown_preview/src/markdown_preview_view.rs @@ -297,7 +297,7 @@ impl MarkdownPreviewView { let subscription = cx.subscribe(&editor, |this, editor, event: &EditorEvent, cx| { match event { - EditorEvent::Edited { .. } => { + EditorEvent::Edited { .. } | EditorEvent::DirtyChanged => { this.parse_markdown_from_active_editor(true, cx); } EditorEvent::SelectionsChanged { .. } => {