fix: graph-parser tests

This commit is contained in:
Tienson Qin
2024-09-04 12:55:37 +08:00
parent 5aece39cee
commit f3c59a9db3
5 changed files with 40 additions and 42 deletions

View File

@@ -38,8 +38,7 @@
(dissoc :block/tags)
(update :block/title (fn [title]
(let [title' (db-content/replace-tags-with-page-refs title refs)]
(db-content/refs->special-id-ref (db/get-db) title' refs))
)))))))]
(db-content/refs->special-id-ref title' refs)))))))))]
(editor-handler/paste-blocks blocks' {:keep-uuid? true}))))
(defn- paste-segmented-text