Refactor: rename :block/content to :block/title

This commit is contained in:
Tienson Qin
2024-07-10 22:33:44 +08:00
parent a1f352773b
commit d847023dc1
113 changed files with 634 additions and 640 deletions

View File

@@ -35,7 +35,7 @@
(if (check? x)
(reset! result (transform x))
x))
(:block/body block))
(:block.temp/ast-body block))
@result))
(defn get-timestamp
@@ -200,7 +200,7 @@
block (or (db/entity [:block/uuid block-id]) block)
content (if (and db-graph? (:block/name block))
(:block/title block)
(or custom-content (:block/content block) ""))
(or custom-content (:block/title block) ""))
content-length (count content)
text-range (cond
(vector? pos)