mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 10:56:32 +00:00
ux: click block references number to toggle references below the number
Shift+Click to open the references in the right sidebar
This commit is contained in:
@@ -1490,6 +1490,15 @@
|
||||
[]
|
||||
(get-in @state [:view/components :page-blocks]))
|
||||
|
||||
;; To avoid circular dependencies
|
||||
(defn set-component!
|
||||
[k value]
|
||||
(set-state! [:view/components k] value))
|
||||
|
||||
(defn get-component
|
||||
[k]
|
||||
(get-in @state [:view/components k]))
|
||||
|
||||
(defn exit-editing-and-set-selected-blocks!
|
||||
([blocks]
|
||||
(exit-editing-and-set-selected-blocks! blocks :down))
|
||||
|
||||
Reference in New Issue
Block a user