1. don't use recursive rule `block-parent` 2. using `:block/path-ref` to get both parent and children 3. run `hidden-ref?` check for refs only (not path-refs)
@@ -87,6 +87,7 @@
(let [e (d/entity db eid)]
(recur (:db/id (:block/parent e)) (conj parents' eid)))))))
+
(defn get-linked-references
[db id]
(let [entity (d/entity db id)