fix: import page

This commit is contained in:
Tienson Qin
2023-05-25 15:16:39 +08:00
parent 569970d450
commit 3e7c9322e4
4 changed files with 17 additions and 16 deletions

View File

@@ -2071,9 +2071,7 @@
(filter (fn [ref] (and (vector? ref) (= :block/uuid (first ref))))))]
(when (seq block-refs)
(db/transact! (map (fn [[_ id]] {:block/uuid id}) block-refs)))
(paste-blocks
blocks
opts)))
(paste-blocks blocks opts)))
(defn insert-block-tree-after-target
"`tree-vec`: a vector of blocks.