fix(copy): property text deleted when its value mixes [[]] and others

close #9100
This commit is contained in:
Tienson Qin
2023-04-18 23:32:22 +08:00
parent a7dfb37055
commit b1b4f17f7e

View File

@@ -904,7 +904,8 @@
distinct
vec)
content (property/remove-properties format content)
kvs (for [key property-ks] [key (get properties key)])
kvs (for [key property-ks] [key (or (get properties-text-values key)
(get properties key))])
content (property/insert-properties format content kvs)
content (property/remove-empty-properties content)
block {:block/uuid block-id