fix: backspace shifts adjacent property

fixes https://github.com/logseq/db-test/issues/50
This commit is contained in:
Tienson Qin
2024-09-06 06:36:37 +08:00
parent 72482a4fe7
commit 1cc7078a4f

View File

@@ -848,7 +848,8 @@
delete-prev-block? (and db-based?
(empty? (:block/tags block))
(seq (:block/properties block))
(empty? (:block/properties prev-block)))]
(empty? (:block/properties prev-block))
(not (:logseq.property/created-from-property block)))]
(if delete-prev-block?
(p/do!
(ui-outliner-tx/transact!