fix: outdated comments related to changes in #11433

pull/11458/head
Gabriel Horner 2024-07-30 15:26:54 -04:00
parent 8afb337d7b
commit 354ffabf88
3 changed files with 3 additions and 3 deletions

View File

@ -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})

View File

@ -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

View File

@ -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