diff --git a/src/Umbraco.Infrastructure/PropertyEditors/BlockEditorPropertyValueEditor.cs b/src/Umbraco.Infrastructure/PropertyEditors/BlockEditorPropertyValueEditor.cs index e23cfde52b..05d6743231 100644 --- a/src/Umbraco.Infrastructure/PropertyEditors/BlockEditorPropertyValueEditor.cs +++ b/src/Umbraco.Infrastructure/PropertyEditors/BlockEditorPropertyValueEditor.cs @@ -21,7 +21,6 @@ internal abstract class BlockEditorPropertyValueEditor : BlockV private readonly IDataTypeService _dataTypeService; private readonly PropertyEditorCollection _propertyEditors; private readonly DataValueReferenceFactoryCollection _dataValueReferenceFactories; - private readonly ILogger _logger; protected BlockEditorPropertyValueEditor( DataEditorAttribute attribute, @@ -38,7 +37,7 @@ internal abstract class BlockEditorPropertyValueEditor : BlockV _propertyEditors = propertyEditors; _dataValueReferenceFactories = dataValueReferenceFactories; _dataTypeService = dataTypeService; - _logger = logger; + _jsonSerializer = jsonSerializer; } protected BlockEditorValues BlockEditorValues @@ -77,7 +76,7 @@ internal abstract class BlockEditorPropertyValueEditor : BlockV continue; } - object? configuration = _dataTypeService.GetDataType(propertyValue.PropertyType.DataTypeKey)?.Configuration; + object? configuration = _dataTypeService.GetDataType(propertyValue.PropertyType.DataTypeKey)?.ConfigurationObject; foreach (ITag tag in dataValueTags.GetTags(propertyValue.Value, configuration, languageId)) { yield return tag;