From 80759831ec9fd1d7e1039acfc0ef6eb70bdfbb38 Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 26 Feb 2026 16:30:55 +0100 Subject: [PATCH] fix(editor): use overflow-wrap instead of word-break for text wrapping word-break: break-all breaks text at any character, causing mid-word breaks even when the word could fit on the next line. overflow-wrap: break-word wraps at word boundaries first and only breaks mid-word when a single word exceeds the container width. --- frontend/src/components/input/editor/TipTap.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/input/editor/TipTap.vue b/frontend/src/components/input/editor/TipTap.vue index 50e3e5adf..a85dbc735 100644 --- a/frontend/src/components/input/editor/TipTap.vue +++ b/frontend/src/components/input/editor/TipTap.vue @@ -933,7 +933,7 @@ watch( // Basic editor styles .ProseMirror { padding: .5rem .5rem .5rem 0; - word-break: break-all; + overflow-wrap: break-word; &:focus-within, &:focus { box-shadow: none;