From 38964ace04a47e93ba30ad219560b9da32f38268 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 13 Oct 2024 19:38:42 +0200 Subject: [PATCH] fix(task): do not allow saving an empty description Resolves https://github.com/go-vikunja/vikunja/issues/338 --- frontend/src/components/input/editor/TipTap.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/input/editor/TipTap.vue b/frontend/src/components/input/editor/TipTap.vue index c0d478f96..69714f43f 100644 --- a/frontend/src/components/input/editor/TipTap.vue +++ b/frontend/src/components/input/editor/TipTap.vue @@ -495,7 +495,8 @@ watch( ) function bubbleNow() { - if (editor.value?.getHTML() === modelValue) { + if (editor.value?.getHTML() === modelValue || + (editor.value?.getHTML() === '

') && modelValue === '') { return }