fix: select all while editing blocks

pull/9391/head^2
Konstantinos Kaloutas 2023-06-14 17:37:44 +03:00 committed by Gabriel Horner
parent 7f77856329
commit d277031918
1 changed files with 1 additions and 1 deletions

View File

@ -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))))