mirror of
https://github.com/logseq/logseq.git
synced 2026-04-28 16:15:21 +00:00
fix: new page doesn't have block/uuid
This commit is contained in:
@@ -70,7 +70,7 @@ and handles unexpected failure."
|
||||
([block]
|
||||
(parse-block block nil))
|
||||
([{:block/keys [uuid content format] :as block} {:keys [with-id?]
|
||||
:or {with-id? true}}]
|
||||
:or {with-id? true}}]
|
||||
(when-not (string/blank? content)
|
||||
(let [block (dissoc block :block/pre-block?)
|
||||
ast (format/to-edn content format nil)
|
||||
|
||||
Reference in New Issue
Block a user