mirror of https://github.com/logseq/logseq
fix: select all while editing blocks
parent
7f77856329
commit
d277031918
|
@ -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))))
|
||||||
|
|
Loading…
Reference in New Issue