improve(plugin): insert block api & type & bump libs version

This commit is contained in:
charlie
2021-06-17 13:14:52 +08:00
committed by Tienson Qin
parent 12ea1a29f3
commit 6535e2068d
4 changed files with 7 additions and 5 deletions

View File

@@ -683,7 +683,8 @@
nil)]
(when block-m
(outliner-insert-block! {:skip-save-current-block? true} block-m new-block sibling?)
(ui-handler/re-render-root!))))))))
(ui-handler/re-render-root!)
new-block)))))))
(defn insert-first-page-block-if-not-exists!
[page-name]