mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 10:26:35 +00:00
fix: add pre-configured properties when creating a new db graph
This commit is contained in:
@@ -192,11 +192,11 @@
|
||||
ref-block)
|
||||
(let [text (:text content)
|
||||
wrap-props #(if-let [stamp (:image content)]
|
||||
(assoc % :hl-type "area" :hl-stamp stamp)
|
||||
(assoc % :hl-type :area :hl-stamp stamp)
|
||||
%)
|
||||
properties (->>
|
||||
(wrap-props
|
||||
{:ls-type "annotation"
|
||||
{:ls-type :annotation
|
||||
:hl-page page
|
||||
:hl-color (:color properties)
|
||||
;; force custom uuid
|
||||
|
||||
Reference in New Issue
Block a user