mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 02:16:30 +00:00
fix: setting block properties with raw value
With this fix able to convert 2 built-ins to :default. Also cleaned up set-block-property! which had outdated assumptions
This commit is contained in:
@@ -211,6 +211,7 @@
|
||||
(assoc :id (str id)))
|
||||
properties (wrap-props props)]
|
||||
(when (string? text)
|
||||
;; FIXME: Handle properties for db graphs
|
||||
(editor-handler/api-insert-new-block!
|
||||
text (merge {:page (:block/name ref-page)
|
||||
:custom-uuid id
|
||||
|
||||
Reference in New Issue
Block a user