From 5ecdcf4a46ae6c62fbecb4542ab947e90e7b245f Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 25 May 2023 11:50:40 +0200 Subject: [PATCH] fix: handle non markdown files in conflicts Do not parse non markdown files when resetting the content. Fixes #4205. Signed-off-by: Max --- src/components/CollisionResolveDialog.vue | 14 +++++--- src/components/Editor.vue | 25 ++++---------- src/extensions/PlainText.js | 2 ++ src/mixins/setContent.js | 42 +++++++++++++++++++++++ 4 files changed, 60 insertions(+), 23 deletions(-) create mode 100644 src/mixins/setContent.js diff --git a/src/components/CollisionResolveDialog.vue b/src/components/CollisionResolveDialog.vue index 2beee8fb1a1..6b4daecb8e7 100644 --- a/src/components/CollisionResolveDialog.vue +++ b/src/components/CollisionResolveDialog.vue @@ -32,9 +32,13 @@