mirror of
https://github.com/logseq/logseq.git
synced 2026-05-27 06:04:23 +00:00
allow set starting block if it's exists
This commit is contained in:
@@ -991,8 +991,7 @@ Similar to re-frame subscriptions"
|
||||
|
||||
(defn set-selection-start-block!
|
||||
[start-block]
|
||||
(when-not (get-selection-start-block)
|
||||
(swap! state assoc :selection/start-block start-block)))
|
||||
(swap! state assoc :selection/start-block start-block))
|
||||
|
||||
(defn set-selection-blocks!
|
||||
([blocks]
|
||||
|
||||
Reference in New Issue
Block a user