From d277031918baed41ac4db497ee6edaf36f732f83 Mon Sep 17 00:00:00 2001 From: Konstantinos Kaloutas Date: Wed, 14 Jun 2023 17:37:44 +0300 Subject: [PATCH] fix: select all while editing blocks --- src/main/frontend/handler/editor.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/frontend/handler/editor.cljs b/src/main/frontend/handler/editor.cljs index d1201d239..f666e5530 100644 --- a/src/main/frontend/handler/editor.cljs +++ b/src/main/frontend/handler/editor.cljs @@ -3616,7 +3616,7 @@ edit-block (state/get-edit-block) target-element (.-nodeName (.-target e))] (cond - (whiteboard?) + (and (whiteboard?) (not edit-input)) (do (util/stop e) (.selectAll (.-api ^js (state/active-tldraw-app))))