mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
remove unnecessary when creating a new block
This commit is contained in:
@@ -369,7 +369,6 @@
|
||||
[fst-block-text snd-block-text] (compute-fst-snd-block-text value pos)
|
||||
current-block (assoc block :block/content fst-block-text)
|
||||
current-block (apply dissoc current-block db-schema/retract-attributes)
|
||||
current-block (editor-impl/wrap-parse-block current-block)
|
||||
new-m {:block/uuid (db/new-block-id)
|
||||
:block/content snd-block-text}
|
||||
next-block (-> (merge (select-keys block [:block/parent :block/left :block/format
|
||||
|
||||
Reference in New Issue
Block a user