refactor: remove :block/file from non-page blocks

This commit is contained in:
Tienson Qin
2021-10-06 23:44:26 +08:00
parent 404991bed8
commit 63b672dcf8
10 changed files with 102 additions and 130 deletions

View File

@@ -624,7 +624,7 @@
:pre-block? true
:unordered true}
(block-keywordize)))
(select-keys first-block [:block/file :block/format :block/page]))
(select-keys first-block [:block/format :block/page]))
blocks)
blocks)
blocks (map (fn [block] (dissoc block :block/anchor)) blocks)]