Linkable built in props are not rich props - fix #6589

This commit is contained in:
Gabriel Horner
2022-09-05 10:47:05 -04:00
committed by Andelf
parent 3f5927d7c9
commit 0b62afc2e8

View File

@@ -1917,7 +1917,9 @@
user-config (state/get-config)
;; In this mode and when value is a set of refs, display full property text
;; because :block/properties value only contains refs but user wants to see text
v (if (and (:rich-property-values? user-config) (coll? value))
v (if (and (:rich-property-values? user-config)
(coll? value)
(not (contains? gp-property/editable-linkable-built-in-properties k)))
(gp-property/property-value-from-content (name k) (:block/content block))
value)
property-pages-enabled? (contains? #{true nil} (:property-pages/enabled? user-config))]