mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
fix: invalid blocks when pasting multi-line content
related to https://github.com/logseq/db-test/issues/56#issuecomment-2343937486 but had seen this happen elsewhere when extract-blocks was called
This commit is contained in:
@@ -29,7 +29,7 @@ and handles unexpected failure."
|
||||
:db-graph-mode? (config/db-based-graph? repo)})]
|
||||
(if (config/db-based-graph? repo)
|
||||
(map (fn [block]
|
||||
(cond-> (dissoc block :block/properties)
|
||||
(cond-> (dissoc block :block/properties :block/macros :block/properties-order)
|
||||
(:block/properties block)
|
||||
(merge (update-keys (:block/properties block)
|
||||
(fn [k]
|
||||
|
||||
Reference in New Issue
Block a user