From d7d56db1afe5e893c6981b2f837c52e960fcef6d Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 23 Mar 2021 10:56:53 +0100 Subject: [PATCH] :bug: Fix focus on text editor. --- frontend/src/app/main/ui/workspace/shapes/text/editor.cljs | 1 + 1 file changed, 1 insertion(+) 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 ca621b81c9..72e6eb92f2 100644 --- a/frontend/src/app/main/ui/workspace/shapes/text/editor.cljs +++ b/frontend/src/app/main/ui/workspace/shapes/text/editor.cljs @@ -143,6 +143,7 @@ [:div.text-editor {:ref self-ref :style {:cursor cur/text} + :on-click (st/emitf (dwt/focus-editor)) :class (dom/classnames :align-top (= (:vertical-align content "top") "top") :align-center (= (:vertical-align content) "center")