From 0fb9b84091e4dfb4801eff316453e9e642ddd30a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Le=20Ma=C3=AEtre?= Date: Sat, 26 Oct 2024 17:14:06 +0200 Subject: [PATCH] fix: remove condition --- packages/vue-3/src/EditorContent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vue-3/src/EditorContent.ts b/packages/vue-3/src/EditorContent.ts index 4be86843f1..46cfad81ea 100644 --- a/packages/vue-3/src/EditorContent.ts +++ b/packages/vue-3/src/EditorContent.ts @@ -65,7 +65,7 @@ export const EditorContent = defineComponent({ onBeforeUnmount(() => { const editor = props.editor - if (!editor || !rootEl.value) { + if (!editor) { return }