mirror of
https://github.com/logseq/logseq.git
synced 2026-05-29 15:09:41 +00:00
fix: delete at end concats wrong blocks
related to https://github.com/logseq/db-test/issues/347
This commit is contained in:
@@ -2762,7 +2762,10 @@
|
||||
(let [repo (state/get-current-repo)
|
||||
editor-state (assoc (get-state)
|
||||
:block-id (:block/uuid next-block)
|
||||
:value (:block/title next-block))]
|
||||
:value (:block/title next-block)
|
||||
:block-container (util/get-next-block-non-collapsed
|
||||
(util/rec-get-node (state/get-input) "ls-block")
|
||||
{:exclude-property? true}))]
|
||||
(delete-block-inner! repo editor-state)))))
|
||||
|
||||
(defn keydown-delete-handler
|
||||
|
||||
Reference in New Issue
Block a user