mirror of https://github.com/logseq/logseq
Add slf4j
parent
8c137d91b0
commit
277f4e7e35
|
@ -70,6 +70,7 @@
|
||||||
(ui/auto-complete
|
(ui/auto-complete
|
||||||
matched-pages
|
matched-pages
|
||||||
(fn [chosen]
|
(fn [chosen]
|
||||||
|
;; TODO: replace with handler/insert-command!
|
||||||
(let [new-value (util/format "%s [[%s%s"
|
(let [new-value (util/format "%s [[%s%s"
|
||||||
(subs edit-content 0 (max 0 (dec (dec pos))))
|
(subs edit-content 0 (max 0 (dec (dec pos))))
|
||||||
chosen
|
chosen
|
||||||
|
@ -328,6 +329,7 @@
|
||||||
file file-name file-type
|
file file-name file-type
|
||||||
(fn [signed-url]
|
(fn [signed-url]
|
||||||
;; insert into the text
|
;; insert into the text
|
||||||
|
;; TODO: replace with handler/insert-command!
|
||||||
(let [pos (:pos @*slash-caret-pos)
|
(let [pos (:pos @*slash-caret-pos)
|
||||||
current-pos (:pos (util/get-caret-pos (gdom/getElement id)))
|
current-pos (:pos (util/get-caret-pos (gdom/getElement id)))
|
||||||
new-value (string/trimr
|
new-value (string/trimr
|
||||||
|
|
Loading…
Reference in New Issue