Browse Source

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

rcmerci 4 years ago
parent
commit
3d2726b014
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/handler/editor.cljs

+ 1 - 1
src/main/frontend/handler/editor.cljs

@@ -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")