forked from vikunja/frontend
fix(editor): check for almost empty editor value
This commit is contained in:
parent
9cf81e1478
commit
8e0ba555ed
@ -267,7 +267,7 @@ const {
|
||||
const emit = defineEmits(['update:modelValue', 'save'])
|
||||
|
||||
const inputHTML = ref('')
|
||||
const isEmpty = computed(() => inputHTML.value === '')
|
||||
const isEmpty = computed(() => inputHTML.value === '' || inputHTML.value === '<p></p>')
|
||||
const internalMode = ref<Mode>(initialMode)
|
||||
const isEditing = computed(() => internalMode.value === 'edit' && isEditEnabled)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user