fix: set edit-block-fn when inserting new block

This commit is contained in:
Tienson Qin
2025-06-02 15:10:50 +08:00
parent dcc0e661e0
commit 65213b5c12
5 changed files with 11 additions and 26 deletions

View File

@@ -174,7 +174,6 @@
save-code-editor? true}
:as opts}]
(when (and (not config/publishing?) (:block/uuid block))
(util/mobile-keep-keyboard-open)
(let [repo (state/get-current-repo)]
(p/do!
(when-not (:block.temp/fully-loaded? (db/entity (:db/id block)))