refactor: rename :block/original-name to :block/title

This commit is contained in:
Tienson Qin
2024-07-10 21:29:39 +08:00
parent 2a48486ac1
commit a1f352773b
105 changed files with 559 additions and 563 deletions

View File

@@ -80,7 +80,7 @@ and handles unexpected failure."
(merge block new-block)
(> (count blocks) 1)
(assoc :block/warning :multiple-blocks))
block (dissoc block :block/title :block/body :block/level)]
block (dissoc block :block/body :block/level)]
(if uuid (assoc block :block/uuid uuid) block))))
(defn parse-title-and-body