mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 03:16:37 +00:00
Move block-ref fns and vars to their own ns
Similar to page-ref to keep namespaces explicit
This commit is contained in:
committed by
Tienson Qin
parent
e0b1f6b2de
commit
4ec5827902
@@ -9,7 +9,7 @@
|
||||
[frontend.handler.repo :as repo-handler]
|
||||
[frontend.handler.ui :as ui-handler]
|
||||
[logseq.graph-parser.util :as gp-util]
|
||||
[logseq.graph-parser.block :as gp-block]
|
||||
[logseq.graph-parser.util.block-ref :as block-ref]
|
||||
[lambdaisland.glogi :as log]
|
||||
[electron.ipc :as ipc]
|
||||
[promesa.core :as p]
|
||||
@@ -22,7 +22,7 @@
|
||||
(defn- set-missing-block-ids!
|
||||
[content]
|
||||
(when (string? content)
|
||||
(doseq [block-id (gp-block/get-all-block-ref-ids content)]
|
||||
(doseq [block-id (block-ref/get-all-block-ref-ids content)]
|
||||
(when-let [block (try
|
||||
(model/get-block-by-uuid block-id)
|
||||
(catch js/Error _e
|
||||
|
||||
Reference in New Issue
Block a user