diff --git a/src/Umbraco.Core/PropertyEditors/PropertyEditorResolver.cs b/src/Umbraco.Core/PropertyEditors/PropertyEditorResolver.cs index 8adfa2c159..02834660ee 100644 --- a/src/Umbraco.Core/PropertyEditors/PropertyEditorResolver.cs +++ b/src/Umbraco.Core/PropertyEditors/PropertyEditorResolver.cs @@ -49,7 +49,7 @@ namespace Umbraco.Core.PropertyEditors /// /// Returns the property editors /// - public IEnumerable PropertyEditors + public virtual IEnumerable PropertyEditors { get { return _unioned.Value; } } @@ -59,7 +59,7 @@ namespace Umbraco.Core.PropertyEditors /// /// /// - public PropertyEditor GetByAlias(string alias) + public virtual PropertyEditor GetByAlias(string alias) { return PropertyEditors.SingleOrDefault(x => x.Alias == alias); } diff --git a/src/Umbraco.Web/PropertyEditors/TagsPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/TagsPropertyEditor.cs index 581186f61d..3f709bb399 100644 --- a/src/Umbraco.Web/PropertyEditors/TagsPropertyEditor.cs +++ b/src/Umbraco.Web/PropertyEditors/TagsPropertyEditor.cs @@ -72,7 +72,7 @@ namespace Umbraco.Web.PropertyEditors /// The default validator used is the RequiredValueValidator but this can be overridden by property editors /// if they need to do some custom validation, or if the value being validated is a json object. /// - internal override ManifestValueValidator RequiredValidator + public override ManifestValueValidator RequiredValidator { get { return new RequiredTagsValueValidator(); } }