mirror of
https://github.com/logseq/logseq.git
synced 2026-04-30 08:56:29 +00:00
fix(editor): do not remove properties before parse
This commit is contained in:
@@ -738,8 +738,7 @@
|
||||
([block-uuid format pre-block? content]
|
||||
(when-not (string/blank? content)
|
||||
(let [content (if pre-block? content
|
||||
(str (config/get-block-pattern format) " " (string/triml content)))
|
||||
content (property/remove-properties format content)]
|
||||
(str (config/get-block-pattern format) " " (string/triml content)))]
|
||||
(if-let [result (state/get-block-ast block-uuid content)]
|
||||
result
|
||||
(let [ast (->> (format/to-edn content format (mldoc/default-config format))
|
||||
|
||||
Reference in New Issue
Block a user