Add slf4j

pull/645/head
Tienson Qin 2020-05-05 14:51:26 +08:00
parent 8c137d91b0
commit 277f4e7e35
1 changed files with 2 additions and 0 deletions

View File

@ -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