mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 18:36:43 +00:00
fix: be compatible with old queries (:page/name, :page/properties, etc)
This commit is contained in:
@@ -363,7 +363,7 @@
|
||||
child?
|
||||
false
|
||||
|
||||
(:block/collapsed? current-block)
|
||||
(:collapsed (:block/properties current-block))
|
||||
true
|
||||
|
||||
:else
|
||||
@@ -442,7 +442,7 @@
|
||||
new-m {:block/uuid (db/new-block-id)
|
||||
:block/content snd-block-text}
|
||||
next-block (-> (merge block new-m)
|
||||
(dissoc :db/id :block/collapsed? :block/properties :block/pre-block? :block/meta)
|
||||
(dissoc :db/id :block/properties :block/pre-block? :block/meta)
|
||||
(wrap-parse-block))
|
||||
{:keys [sibling? blocks]} (profile
|
||||
"outliner insert block"
|
||||
|
||||
Reference in New Issue
Block a user