From 0b3604d1670f28555e8ce963a5135806c862710e Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 21 Jan 2024 15:00:26 +0100 Subject: [PATCH] fix(editor): render images without crashing --- src/components/input/editor/TipTap.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/input/editor/TipTap.vue b/src/components/input/editor/TipTap.vue index f5535bc029..4b096131f3 100644 --- a/src/components/input/editor/TipTap.vue +++ b/src/components/input/editor/TipTap.vue @@ -288,7 +288,7 @@ const { const emit = defineEmits(['update:modelValue', 'save']) -const internalMode = ref('edit') +const internalMode = ref('preview') const isEditing = computed(() => internalMode.value === 'edit' && isEditEnabled) const contentHasChanged = ref(false)