enhance: remove block/anchor

This commit is contained in:
Tienson Qin
2021-09-26 10:22:23 +08:00
parent ff5a7413f9
commit 821ffecaf3
2 changed files with 4 additions and 4 deletions

View File

@@ -622,7 +622,8 @@
(block-keywordize)))
(select-keys first-block [:block/file :block/format :block/page]))
blocks)
blocks)]
blocks)
blocks (map (fn [block] (dissoc block :block/anchor)) blocks)]
(with-path-refs blocks)))
(catch js/Error e
(js/console.error "extract-blocks-failed")