From 01ec22d662646be9e4a4501852b939547e1ce2b0 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Tue, 4 Jul 2023 15:52:33 +0200 Subject: [PATCH] :bug: Fix finalize text editor state when blur --- frontend/src/app/main/ui/workspace/shapes/text/editor.cljs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/app/main/ui/workspace/shapes/text/editor.cljs b/frontend/src/app/main/ui/workspace/shapes/text/editor.cljs index ae28789f6..64805ef19 100644 --- a/frontend/src/app/main/ui/workspace/shapes/text/editor.cljs +++ b/frontend/src/app/main/ui/workspace/shapes/text/editor.cljs @@ -133,6 +133,8 @@ (fn [event] (dom/stop-propagation event) (dom/prevent-default event) + (st/emit! ::dwt/finalize-editor-state) + (st/emit! (dwt/initialize-editor-state shape default-decorator)) (reset! blurred true))) on-focus