From b0d0abb0ad533aafa4a945ab9805276f6b01419f Mon Sep 17 00:00:00 2001 From: Aitor Moreno Date: Tue, 4 Feb 2025 15:54:46 +0100 Subject: [PATCH] :bug: Fix cursor not preserving white space (#5764) --- frontend/src/app/main/ui/workspace/shapes/text/v2_editor.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/app/main/ui/workspace/shapes/text/v2_editor.scss b/frontend/src/app/main/ui/workspace/shapes/text/v2_editor.scss index cc4ab2ea8..d2732bd7f 100644 --- a/frontend/src/app/main/ui/workspace/shapes/text/v2_editor.scss +++ b/frontend/src/app/main/ui/workspace/shapes/text/v2_editor.scss @@ -62,6 +62,10 @@ [data-itype="paragraph"] { white-space: nowrap; } + + [data-itype="inline"] { + white-space-collapse: preserve; + } } // Vertical align.