diff --git a/src/main/frontend/handler/editor.cljs b/src/main/frontend/handler/editor.cljs index e1a67082d..9be0099e0 100644 --- a/src/main/frontend/handler/editor.cljs +++ b/src/main/frontend/handler/editor.cljs @@ -875,7 +875,7 @@ (outliner-op/delete-blocks! blocks' nil)) (when sibling-block (let [{:keys [edit-block-f]} (move-to-prev-block repo sibling-block (:block/format block) "")] - (edit-block-f))))))) + (when edit-block-f (edit-block-f)))))))) (defn set-block-query-properties! [block-id all-properties key add?]