mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
fix: clearing the search box for setting node icons deletes nodes
fixes https://github.com/logseq/db-test/issues/62
This commit is contained in:
@@ -3118,13 +3118,15 @@
|
||||
|
||||
(defn shortcut-cut-selection
|
||||
[e]
|
||||
(util/stop e)
|
||||
(cut-blocks-and-clear-selections! true))
|
||||
(when-not (util/input? (.-target e))
|
||||
(util/stop e)
|
||||
(cut-blocks-and-clear-selections! true)))
|
||||
|
||||
(defn shortcut-delete-selection
|
||||
[e]
|
||||
(util/stop e)
|
||||
(cut-blocks-and-clear-selections! false))
|
||||
(when-not (util/input? (.-target e))
|
||||
(util/stop e)
|
||||
(cut-blocks-and-clear-selections! false)))
|
||||
|
||||
(defn- copy-current-block-ref
|
||||
[format]
|
||||
|
||||
Reference in New Issue
Block a user