mirror of
https://github.com/logseq/logseq.git
synced 2026-04-28 16:15:21 +00:00
fix: disallow cutting blocks when find in page
This commit is contained in:
@@ -2907,8 +2907,9 @@
|
||||
|
||||
(defn- cut-blocks-and-clear-selections!
|
||||
[copy?]
|
||||
(cut-selection-blocks copy?)
|
||||
(clear-selection!))
|
||||
(when-not (get-in @state/state [:ui/find-in-page :active?])
|
||||
(cut-selection-blocks copy?)
|
||||
(clear-selection!)))
|
||||
|
||||
(defn shortcut-copy-selection
|
||||
[_e]
|
||||
|
||||
Reference in New Issue
Block a user