فهرست منبع

fix: select all while editing blocks

Konstantinos Kaloutas 2 سال پیش
والد
کامیت
d277031918
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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)
         edit-block (state/get-edit-block)
         target-element (.-nodeName (.-target e))]
         target-element (.-nodeName (.-target e))]
     (cond
     (cond
-      (whiteboard?)
+      (and (whiteboard?) (not edit-input))
       (do
       (do
         (util/stop e)
         (util/stop e)
         (.selectAll (.-api ^js (state/active-tldraw-app))))
         (.selectAll (.-api ^js (state/active-tldraw-app))))