fix: jump to the end when editing for the first block

This commit is contained in:
Tienson Qin
2021-05-30 15:24:15 +08:00
parent b7d27eeeaf
commit ba0de50629
2 changed files with 3 additions and 3 deletions

View File

@@ -1264,8 +1264,7 @@
(or
(not= (string/trim db-content-without-heading)
(string/trim value))))
(save-block-aux! db-block value (:block/format db-block) opts))
)
(save-block-aux! db-block value (:block/format db-block) opts)))
(catch js/Error error
(log/error :save-block-failed error))))))))