fix: suggestions from gabriel

This commit is contained in:
Tienson Qin
2022-07-06 20:13:14 +08:00
parent e8023b9246
commit 139075e679
10 changed files with 31 additions and 54 deletions

View File

@@ -683,7 +683,7 @@
;; Editor
(defn page-not-exists-handler
[input id q current-pos]
(state/set-editor-show-page-search! false)
(state/clear-editor-action!)
(if (state/org-mode-file-link? (state/get-current-repo))
(let [page-ref-text (get-page-ref-text q)
value (gobj/get input "value")