浏览代码

fix: outdated comments related to changes in #11433

Gabriel Horner 1 年之前
父节点
当前提交
354ffabf88

+ 1 - 1
deps/db/src/logseq/db/frontend/schema.cljs

@@ -147,7 +147,7 @@
     :block/invalid-properties
     :block/warning})
 
-;; If only block/content changes
+;; If only block/title changes
 (def db-version-retract-attributes
   #{:block/refs
     :block/warning})

+ 1 - 1
deps/graph-parser/src/logseq/graph_parser/block.cljs

@@ -668,7 +668,7 @@
                body []]
           (if (seq blocks)
             (let [[block pos-meta] (first blocks)
-                  ;; in db-graph-mode, property part is not included in block/content
+                  ;; in db-graph-mode, property part is not included in block/title
                   pos-meta (if db-graph-mode?
                              pos-meta
                              (assoc pos-meta :end_pos

+ 1 - 1
src/main/frontend/common_keywords.cljs

@@ -31,7 +31,7 @@ in db-version, page-references(e.g. [[page-name]]) are stored as [[~^uuid]]."
 
 (sr/defkeyword :block/raw-title
   "like `:block/title`,
-but when eval `(:block/raw-content block-entity)`, return raw-content of this block"
+but when eval `(:block/raw-title block-entity)`, return raw title of this block"
   :string)
 
 (sr/defkeyword :kv/value