Prechádzať zdrojové kódy

fix: select all while editing blocks

Konstantinos Kaloutas 2 rokov pred
rodič
commit
d277031918
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/main/frontend/handler/editor.cljs

+ 1 - 1
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))))