fix: renamed paste-block-tree-at-point

This commit is contained in:
rcmerci
2021-06-09 23:05:41 +08:00
committed by Tienson Qin
parent fa03b7dae1
commit 3d2726b014

View File

@@ -2117,7 +2117,7 @@
result-blocks (if template-including-parent? sorted-blocks (drop 1 sorted-blocks))
tree (blocks-vec->tree result-blocks)]
(insert-command! id "" format {})
(let [last-block (paste-block-tree-at-point tree [:template :template-including-parent]
(let [last-block (paste-block-vec-tree-at-target tree [:template :template-including-parent]
(fn [content]
(->> content
(property/remove-property format "template")