diff --git a/src/Umbraco.Infrastructure/PropertyEditors/BlockEditorPropertyValueEditor.cs b/src/Umbraco.Infrastructure/PropertyEditors/BlockEditorPropertyValueEditor.cs index 043c4088e92e..98c394d584eb 100644 --- a/src/Umbraco.Infrastructure/PropertyEditors/BlockEditorPropertyValueEditor.cs +++ b/src/Umbraco.Infrastructure/PropertyEditors/BlockEditorPropertyValueEditor.cs @@ -13,7 +13,7 @@ namespace Umbraco.Cms.Core.PropertyEditors; -internal abstract class BlockEditorPropertyValueEditor : BlockValuePropertyValueEditorBase +public abstract class BlockEditorPropertyValueEditor : BlockValuePropertyValueEditorBase where TValue : BlockValue, new() where TLayout : class, IBlockLayoutItem, new() { diff --git a/src/Umbraco.Infrastructure/PropertyEditors/BlockEditorValidator.cs b/src/Umbraco.Infrastructure/PropertyEditors/BlockEditorValidator.cs index 685dbae9aa76..332c41462866 100644 --- a/src/Umbraco.Infrastructure/PropertyEditors/BlockEditorValidator.cs +++ b/src/Umbraco.Infrastructure/PropertyEditors/BlockEditorValidator.cs @@ -7,7 +7,7 @@ namespace Umbraco.Cms.Core.PropertyEditors; -internal class BlockEditorValidator : BlockEditorValidatorBase +public class BlockEditorValidator : BlockEditorValidatorBase where TValue : BlockValue, new() where TLayout : class, IBlockLayoutItem, new() { diff --git a/src/Umbraco.Infrastructure/PropertyEditors/BlockEditorValidatorBase.cs b/src/Umbraco.Infrastructure/PropertyEditors/BlockEditorValidatorBase.cs index 8452284cc997..cb8a69e446cf 100644 --- a/src/Umbraco.Infrastructure/PropertyEditors/BlockEditorValidatorBase.cs +++ b/src/Umbraco.Infrastructure/PropertyEditors/BlockEditorValidatorBase.cs @@ -6,7 +6,7 @@ namespace Umbraco.Cms.Core.PropertyEditors; -internal abstract class BlockEditorValidatorBase : ComplexEditorValidator +public abstract class BlockEditorValidatorBase : ComplexEditorValidator where TValue : BlockValue, new() where TLayout : class, IBlockLayoutItem, new() { diff --git a/src/Umbraco.Infrastructure/PropertyEditors/BlockEditorValues.cs b/src/Umbraco.Infrastructure/PropertyEditors/BlockEditorValues.cs index bf8ccee15f0a..87c78fa119d7 100644 --- a/src/Umbraco.Infrastructure/PropertyEditors/BlockEditorValues.cs +++ b/src/Umbraco.Infrastructure/PropertyEditors/BlockEditorValues.cs @@ -10,9 +10,9 @@ namespace Umbraco.Cms.Core.PropertyEditors; /// -/// Used to deserialize json values and clean up any values based on the existence of element types and layout structure +/// Used to deserialize json values and clean up any values based on the existence of element types and layout structure. /// -internal class BlockEditorValues +public class BlockEditorValues where TValue : BlockValue, new() where TLayout : class, IBlockLayoutItem, new() { diff --git a/src/Umbraco.Infrastructure/PropertyEditors/BlockValuePropertyValueEditorBase.cs b/src/Umbraco.Infrastructure/PropertyEditors/BlockValuePropertyValueEditorBase.cs index dd62a7d5b967..39806b7a1b39 100644 --- a/src/Umbraco.Infrastructure/PropertyEditors/BlockValuePropertyValueEditorBase.cs +++ b/src/Umbraco.Infrastructure/PropertyEditors/BlockValuePropertyValueEditorBase.cs @@ -10,7 +10,7 @@ namespace Umbraco.Cms.Core.PropertyEditors; -internal abstract class BlockValuePropertyValueEditorBase : DataValueEditor, IDataValueReference, IDataValueTags +public abstract class BlockValuePropertyValueEditorBase : DataValueEditor, IDataValueReference, IDataValueTags where TValue : BlockValue, new() where TLayout : class, IBlockLayoutItem, new() {