refactor: internal ref uses [[uuid]] instead of ~^[[uuid]]

This commit is contained in:
Tienson Qin
2024-11-28 17:26:00 +08:00
parent e81ca25ad7
commit faf7f48860
17 changed files with 50 additions and 108 deletions

View File

@@ -38,7 +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 title' refs)))))))))]
(db-content/title-ref->id-ref title' refs)))))))))]
(editor-handler/paste-blocks blocks' {:keep-uuid? true}))))
(defn- paste-segmented-text