mirror of https://github.com/logseq/logseq
fix(api): return non transferable value for plugin api
parent
981b1ad69e
commit
2b94a95f11
|
@ -1252,7 +1252,8 @@
|
||||||
|
|
||||||
;; if different direction, keep clear until one left
|
;; if different direction, keep clear until one left
|
||||||
(state/selection?)
|
(state/selection?)
|
||||||
(clear-last-selected-block!)))
|
(clear-last-selected-block!))
|
||||||
|
nil)
|
||||||
|
|
||||||
(defn on-select-block
|
(defn on-select-block
|
||||||
[direction]
|
[direction]
|
||||||
|
@ -3053,7 +3054,8 @@
|
||||||
(select-up-down direction)
|
(select-up-down direction)
|
||||||
|
|
||||||
:else
|
:else
|
||||||
(select-first-last direction)))))
|
(select-first-last direction)))
|
||||||
|
nil))
|
||||||
|
|
||||||
(defn shortcut-select-up-down [direction]
|
(defn shortcut-select-up-down [direction]
|
||||||
(fn [e]
|
(fn [e]
|
||||||
|
|
Loading…
Reference in New Issue