fix(editor): render images without crashing
This commit is contained in:
parent
c5ba7fcb73
commit
0b3604d167
@ -288,7 +288,7 @@ const {
|
|||||||
|
|
||||||
const emit = defineEmits(['update:modelValue', 'save'])
|
const emit = defineEmits(['update:modelValue', 'save'])
|
||||||
|
|
||||||
const internalMode = ref<Mode>('edit')
|
const internalMode = ref<Mode>('preview')
|
||||||
const isEditing = computed(() => internalMode.value === 'edit' && isEditEnabled)
|
const isEditing = computed(() => internalMode.value === 'edit' && isEditEnabled)
|
||||||
const contentHasChanged = ref<boolean>(false)
|
const contentHasChanged = ref<boolean>(false)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user