fix(api): return value of remove block

pull/4314/head
charlie 2022-02-20 00:19:01 +08:00 committed by Tienson Qin
parent d7be05c0ea
commit 0233844b53
1 changed files with 2 additions and 1 deletions

View File

@ -450,7 +450,8 @@
(let [includeChildren true
repo (state/get-current-repo)]
(editor-handler/delete-block-aux!
{:block/uuid (medley/uuid block-uuid) :repo repo} includeChildren))))
{:block/uuid (medley/uuid block-uuid) :repo repo} includeChildren)
nil)))
(def ^:export update_block
(fn [block-uuid content ^js _opts]