diff --git a/src/Umbraco.Core/Constants-PropertyEditors.cs b/src/Umbraco.Core/Constants-PropertyEditors.cs
index b48286f197..0b5d2873f9 100644
--- a/src/Umbraco.Core/Constants-PropertyEditors.cs
+++ b/src/Umbraco.Core/Constants-PropertyEditors.cs
@@ -203,6 +203,24 @@ namespace Umbraco.Core
/// Must be a valid value.
public const string DataValueType = "umbracoDataValueType";
}
+
+ ///
+ /// Defines Umbraco's built-in property editor groups.
+ ///
+ public static class Groups
+ {
+ public const string Common = "Common";
+
+ public const string Lists = "Lists";
+
+ public const string Media = "Media";
+
+ public const string People = "People";
+
+ public const string Pickers = "Pickers";
+
+ public const string RichContent = "Rich Content";
+ }
}
}
}
diff --git a/src/Umbraco.Core/PropertyEditors/DataEditor.cs b/src/Umbraco.Core/PropertyEditors/DataEditor.cs
index 43f4b68b99..dbb2fc467e 100644
--- a/src/Umbraco.Core/PropertyEditors/DataEditor.cs
+++ b/src/Umbraco.Core/PropertyEditors/DataEditor.cs
@@ -30,7 +30,7 @@ namespace Umbraco.Core.PropertyEditors
// defaults
Type = type;
Icon = Constants.Icons.PropertyEditor;
- Group = "common";
+ Group = Constants.PropertyEditors.Groups.Common;
// assign properties based on the attribute, if it is found
Attribute = GetType().GetCustomAttribute(false);
diff --git a/src/Umbraco.Core/PropertyEditors/DataEditorAttribute.cs b/src/Umbraco.Core/PropertyEditors/DataEditorAttribute.cs
index ca08127d51..821f06513e 100644
--- a/src/Umbraco.Core/PropertyEditors/DataEditorAttribute.cs
+++ b/src/Umbraco.Core/PropertyEditors/DataEditorAttribute.cs
@@ -121,7 +121,7 @@ namespace Umbraco.Core.PropertyEditors
/// Gets or sets an optional group.
///
/// The group can be used for example to group the editors by category.
- public string Group { get; set; } = "common";
+ public string Group { get; set; } = Constants.PropertyEditors.Groups.Common;
///
/// Gets or sets a value indicating whether the value editor is deprecated.
diff --git a/src/Umbraco.Core/PropertyEditors/LabelPropertyEditor.cs b/src/Umbraco.Core/PropertyEditors/LabelPropertyEditor.cs
index d0c40b1e63..60b7d55c01 100644
--- a/src/Umbraco.Core/PropertyEditors/LabelPropertyEditor.cs
+++ b/src/Umbraco.Core/PropertyEditors/LabelPropertyEditor.cs
@@ -5,7 +5,11 @@ namespace Umbraco.Core.PropertyEditors
///
/// Represents a property editor for label properties.
///
- [DataEditor(Constants.PropertyEditors.Aliases.Label, "Label", "readonlyvalue", Icon = "icon-readonly")]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.Label,
+ "Label",
+ "readonlyvalue",
+ Icon = "icon-readonly")]
public class LabelPropertyEditor : DataEditor
{
///
diff --git a/src/Umbraco.Web/PropertyEditors/CheckBoxListPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/CheckBoxListPropertyEditor.cs
index e0f7184dc7..d81b63f2ad 100644
--- a/src/Umbraco.Web/PropertyEditors/CheckBoxListPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/CheckBoxListPropertyEditor.cs
@@ -8,7 +8,12 @@ namespace Umbraco.Web.PropertyEditors
///
/// A property editor to allow multiple checkbox selection of pre-defined items.
///
- [DataEditor(Constants.PropertyEditors.Aliases.CheckBoxList, "Checkbox list", "checkboxlist", Icon="icon-bulleted-list", Group="lists")]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.CheckBoxList,
+ "Checkbox list",
+ "checkboxlist",
+ Icon = "icon-bulleted-list",
+ Group = Constants.PropertyEditors.Groups.Lists)]
public class CheckBoxListPropertyEditor : DataEditor
{
private readonly ILocalizedTextService _textService;
diff --git a/src/Umbraco.Web/PropertyEditors/ColorPickerPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/ColorPickerPropertyEditor.cs
index 5da9d2888d..be6bde248f 100644
--- a/src/Umbraco.Web/PropertyEditors/ColorPickerPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/ColorPickerPropertyEditor.cs
@@ -4,7 +4,12 @@ using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
- [DataEditor(Constants.PropertyEditors.Aliases.ColorPicker, "Color Picker", "colorpicker", Icon="icon-colorpicker", Group="Pickers")]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.ColorPicker,
+ "Color Picker",
+ "colorpicker",
+ Icon = "icon-colorpicker",
+ Group = Constants.PropertyEditors.Groups.Pickers)]
public class ColorPickerPropertyEditor : DataEditor
{
public ColorPickerPropertyEditor(ILogger logger)
diff --git a/src/Umbraco.Web/PropertyEditors/ContentPickerPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/ContentPickerPropertyEditor.cs
index 391257ca58..c6de91f560 100644
--- a/src/Umbraco.Web/PropertyEditors/ContentPickerPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/ContentPickerPropertyEditor.cs
@@ -8,7 +8,13 @@ namespace Umbraco.Web.PropertyEditors
///
/// Content property editor that stores UDI
///
- [DataEditor(Constants.PropertyEditors.Aliases.ContentPicker, EditorType.PropertyValue | EditorType.MacroParameter, "Content Picker", "contentpicker", ValueType = ValueTypes.String, Group = "Pickers")]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.ContentPicker,
+ EditorType.PropertyValue | EditorType.MacroParameter,
+ "Content Picker",
+ "contentpicker",
+ ValueType = ValueTypes.String,
+ Group = Constants.PropertyEditors.Groups.Pickers)]
public class ContentPickerPropertyEditor : DataEditor
{
public ContentPickerPropertyEditor(ILogger logger)
diff --git a/src/Umbraco.Web/PropertyEditors/DateTimePropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/DateTimePropertyEditor.cs
index fa3734e8aa..31fbc9e3f1 100644
--- a/src/Umbraco.Web/PropertyEditors/DateTimePropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/DateTimePropertyEditor.cs
@@ -7,7 +7,12 @@ namespace Umbraco.Web.PropertyEditors
///
/// Represents a date and time property editor.
///
- [DataEditor(Constants.PropertyEditors.Aliases.DateTime, "Date/Time", "datepicker", ValueType = ValueTypes.DateTime, Icon="icon-time")]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.DateTime,
+ "Date/Time",
+ "datepicker",
+ ValueType = ValueTypes.DateTime,
+ Icon = "icon-time")]
public class DateTimePropertyEditor : DataEditor
{
///
diff --git a/src/Umbraco.Web/PropertyEditors/DecimalPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/DecimalPropertyEditor.cs
index 15b33f28b7..880cf8f204 100644
--- a/src/Umbraco.Web/PropertyEditors/DecimalPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/DecimalPropertyEditor.cs
@@ -8,7 +8,12 @@ namespace Umbraco.Web.PropertyEditors
///
/// Represents a decimal property and parameter editor.
///
- [DataEditor(Constants.PropertyEditors.Aliases.Decimal, EditorType.PropertyValue | EditorType.MacroParameter, "Decimal", "decimal", ValueType = ValueTypes.Decimal)]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.Decimal,
+ EditorType.PropertyValue | EditorType.MacroParameter,
+ "Decimal",
+ "decimal",
+ ValueType = ValueTypes.Decimal)]
public class DecimalPropertyEditor : DataEditor
{
///
diff --git a/src/Umbraco.Web/PropertyEditors/DropDownFlexiblePropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/DropDownFlexiblePropertyEditor.cs
index eac692fcdd..98a19f39ad 100644
--- a/src/Umbraco.Web/PropertyEditors/DropDownFlexiblePropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/DropDownFlexiblePropertyEditor.cs
@@ -5,7 +5,12 @@ using Umbraco.Core.Services;
namespace Umbraco.Web.PropertyEditors
{
- [DataEditor(Constants.PropertyEditors.Aliases.DropDownListFlexible, "Dropdown", "dropdownFlexible", Group = "lists", Icon = "icon-indent")]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.DropDownListFlexible,
+ "Dropdown",
+ "dropdownFlexible",
+ Group = Constants.PropertyEditors.Groups.Lists,
+ Icon = "icon-indent")]
public class DropDownFlexiblePropertyEditor : DataEditor
{
private readonly ILocalizedTextService _textService;
diff --git a/src/Umbraco.Web/PropertyEditors/EmailAddressPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/EmailAddressPropertyEditor.cs
index d55d3327e1..cd3a830c72 100644
--- a/src/Umbraco.Web/PropertyEditors/EmailAddressPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/EmailAddressPropertyEditor.cs
@@ -5,7 +5,12 @@ using Umbraco.Core.PropertyEditors.Validators;
namespace Umbraco.Web.PropertyEditors
{
- [DataEditor(Constants.PropertyEditors.Aliases.EmailAddress, EditorType.PropertyValue | EditorType.MacroParameter, "Email address", "email", Icon="icon-message")]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.EmailAddress,
+ EditorType.PropertyValue | EditorType.MacroParameter,
+ "Email address",
+ "email",
+ Icon = "icon-message")]
public class EmailAddressPropertyEditor : DataEditor
{
///
diff --git a/src/Umbraco.Web/PropertyEditors/FileUploadPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/FileUploadPropertyEditor.cs
index 6d87bfe495..702408788a 100644
--- a/src/Umbraco.Web/PropertyEditors/FileUploadPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/FileUploadPropertyEditor.cs
@@ -12,7 +12,12 @@ using Umbraco.Web.Media;
namespace Umbraco.Web.PropertyEditors
{
- [DataEditor(Constants.PropertyEditors.Aliases.UploadField, "File upload", "fileupload", Icon = "icon-download-alt", Group = "media")]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.UploadField,
+ "File upload",
+ "fileupload",
+ Group = Constants.PropertyEditors.Groups.Media,
+ Icon = "icon-download-alt")]
public class FileUploadPropertyEditor : DataEditor
{
private readonly IMediaFileSystem _mediaFileSystem;
diff --git a/src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
index 99972a27cf..aa7a1f7355 100644
--- a/src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
@@ -12,7 +12,14 @@ namespace Umbraco.Web.PropertyEditors
///
/// Represents a grid property and parameter editor.
///
- [DataEditor(Constants.PropertyEditors.Aliases.Grid, "Grid layout", "grid", HideLabel = true, ValueType = ValueTypes.Json, Group="rich content", Icon="icon-layout")]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.Grid,
+ "Grid layout",
+ "grid",
+ HideLabel = true,
+ ValueType = ValueTypes.Json,
+ Icon = "icon-layout",
+ Group = Constants.PropertyEditors.Groups.RichContent)]
public class GridPropertyEditor : DataEditor
{
public GridPropertyEditor(ILogger logger)
diff --git a/src/Umbraco.Web/PropertyEditors/ImageCropperPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/ImageCropperPropertyEditor.cs
index 86f3412593..9a8fb7c40b 100644
--- a/src/Umbraco.Web/PropertyEditors/ImageCropperPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/ImageCropperPropertyEditor.cs
@@ -19,7 +19,14 @@ namespace Umbraco.Web.PropertyEditors
///
/// Represents an image cropper property editor.
///
- [DataEditor(Constants.PropertyEditors.Aliases.ImageCropper, "Image Cropper", "imagecropper", ValueType = ValueTypes.Json, HideLabel = false, Group="media", Icon="icon-crop")]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.ImageCropper,
+ "Image Cropper",
+ "imagecropper",
+ ValueType = ValueTypes.Json,
+ HideLabel = false,
+ Group = Constants.PropertyEditors.Groups.Media,
+ Icon = "icon-crop")]
public class ImageCropperPropertyEditor : DataEditor
{
private readonly IMediaFileSystem _mediaFileSystem;
diff --git a/src/Umbraco.Web/PropertyEditors/IntegerPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/IntegerPropertyEditor.cs
index 5d6adc018c..7717ced4a5 100644
--- a/src/Umbraco.Web/PropertyEditors/IntegerPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/IntegerPropertyEditor.cs
@@ -8,7 +8,12 @@ namespace Umbraco.Web.PropertyEditors
///
/// Represents an integer property and parameter editor.
///
- [DataEditor(Constants.PropertyEditors.Aliases.Integer, EditorType.PropertyValue | EditorType.MacroParameter, "Numeric", "integer", ValueType = ValueTypes.Integer)]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.Integer,
+ EditorType.PropertyValue | EditorType.MacroParameter,
+ "Numeric",
+ "integer",
+ ValueType = ValueTypes.Integer)]
public class IntegerPropertyEditor : DataEditor
{
public IntegerPropertyEditor(ILogger logger)
diff --git a/src/Umbraco.Web/PropertyEditors/ListViewPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/ListViewPropertyEditor.cs
index f170608545..53f9cb94ef 100644
--- a/src/Umbraco.Web/PropertyEditors/ListViewPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/ListViewPropertyEditor.cs
@@ -8,7 +8,13 @@ namespace Umbraco.Web.PropertyEditors
///
/// Represents a list-view editor.
///
- [DataEditor(Constants.PropertyEditors.Aliases.ListView, "List view", "listview", HideLabel = true, Group = "lists", Icon = Constants.Icons.ListView)]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.ListView,
+ "List view",
+ "listview",
+ HideLabel = true,
+ Group = Constants.PropertyEditors.Groups.Lists,
+ Icon = Constants.Icons.ListView)]
public class ListViewPropertyEditor : DataEditor
{
///
diff --git a/src/Umbraco.Web/PropertyEditors/MacroContainerPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/MacroContainerPropertyEditor.cs
index 99a9f44487..ff2c08bf62 100644
--- a/src/Umbraco.Web/PropertyEditors/MacroContainerPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/MacroContainerPropertyEditor.cs
@@ -5,7 +5,14 @@ using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
// TODO: MacroContainerPropertyEditor is deprecated, but what's the alternative?
- [DataEditor(Constants.PropertyEditors.Aliases.MacroContainer, "(Obsolete) Macro Picker", "macrocontainer", ValueType = ValueTypes.Text, Group = "rich content", Icon = Constants.Icons.Macro, IsDeprecated = true)]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.MacroContainer,
+ "(Obsolete) Macro Picker",
+ "macrocontainer",
+ ValueType = ValueTypes.Text,
+ Group = Constants.PropertyEditors.Groups.RichContent,
+ Icon = Constants.Icons.Macro,
+ IsDeprecated = true)]
public class MacroContainerPropertyEditor : DataEditor
{
public MacroContainerPropertyEditor(ILogger logger)
diff --git a/src/Umbraco.Web/PropertyEditors/MarkdownPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/MarkdownPropertyEditor.cs
index 99b68a507b..2d66da5461 100644
--- a/src/Umbraco.Web/PropertyEditors/MarkdownPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/MarkdownPropertyEditor.cs
@@ -7,7 +7,13 @@ namespace Umbraco.Web.PropertyEditors
///
/// Represents a markdown editor.
///
- [DataEditor(Constants.PropertyEditors.Aliases.MarkdownEditor, "Markdown editor", "markdowneditor", ValueType = ValueTypes.Text, Icon="icon-code", Group="rich content")]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.MarkdownEditor,
+ "Markdown editor",
+ "markdowneditor",
+ ValueType = ValueTypes.Text,
+ Group = Constants.PropertyEditors.Groups.RichContent,
+ Icon = "icon-code")]
public class MarkdownPropertyEditor : DataEditor
{
///
diff --git a/src/Umbraco.Web/PropertyEditors/MediaPickerPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/MediaPickerPropertyEditor.cs
index 52e616ffbd..dd755ee0ba 100644
--- a/src/Umbraco.Web/PropertyEditors/MediaPickerPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/MediaPickerPropertyEditor.cs
@@ -7,8 +7,14 @@ namespace Umbraco.Web.PropertyEditors
///
/// Represents a media picker property editor.
///
- [DataEditor(Constants.PropertyEditors.Aliases.MediaPicker, EditorType.PropertyValue | EditorType.MacroParameter,
- "Media Picker", "mediapicker", ValueType = ValueTypes.Text, Group = "media", Icon = Constants.Icons.MediaImage)]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.MediaPicker,
+ EditorType.PropertyValue | EditorType.MacroParameter,
+ "Media Picker",
+ "mediapicker",
+ ValueType = ValueTypes.Text,
+ Group = Constants.PropertyEditors.Groups.Media,
+ Icon = Constants.Icons.MediaImage)]
public class MediaPickerPropertyEditor : DataEditor
{
///
diff --git a/src/Umbraco.Web/PropertyEditors/MemberGroupPickerPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/MemberGroupPickerPropertyEditor.cs
index 5d89024692..b8e67c863c 100644
--- a/src/Umbraco.Web/PropertyEditors/MemberGroupPickerPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/MemberGroupPickerPropertyEditor.cs
@@ -4,7 +4,13 @@ using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
- [DataEditor(Constants.PropertyEditors.Aliases.MemberGroupPicker, "Member Group Picker", "membergrouppicker", ValueType = ValueTypes.Text, Group = "People", Icon = Constants.Icons.MemberGroup)]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.MemberGroupPicker,
+ "Member Group Picker",
+ "membergrouppicker",
+ ValueType = ValueTypes.Text,
+ Group = Constants.PropertyEditors.Groups.People,
+ Icon = Constants.Icons.MemberGroup)]
public class MemberGroupPickerPropertyEditor : DataEditor
{
public MemberGroupPickerPropertyEditor(ILogger logger)
diff --git a/src/Umbraco.Web/PropertyEditors/MemberPickerPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/MemberPickerPropertyEditor.cs
index 858582ab72..69020ba350 100644
--- a/src/Umbraco.Web/PropertyEditors/MemberPickerPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/MemberPickerPropertyEditor.cs
@@ -4,7 +4,13 @@ using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
- [DataEditor(Constants.PropertyEditors.Aliases.MemberPicker, "Member Picker", "memberpicker", ValueType = ValueTypes.String, Group = "People", Icon = Constants.Icons.Member)]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.MemberPicker,
+ "Member Picker",
+ "memberpicker",
+ ValueType = ValueTypes.String,
+ Group = Constants.PropertyEditors.Groups.People,
+ Icon = Constants.Icons.Member)]
public class MemberPickerPropertyEditor : DataEditor
{
public MemberPickerPropertyEditor(ILogger logger)
diff --git a/src/Umbraco.Web/PropertyEditors/MultiNodeTreePickerPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/MultiNodeTreePickerPropertyEditor.cs
index ad75e16717..742acbeca2 100644
--- a/src/Umbraco.Web/PropertyEditors/MultiNodeTreePickerPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/MultiNodeTreePickerPropertyEditor.cs
@@ -4,7 +4,13 @@ using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
- [DataEditor(Constants.PropertyEditors.Aliases.MultiNodeTreePicker, "Multinode Treepicker", "contentpicker", ValueType = ValueTypes.Text, Group = "pickers", Icon = "icon-page-add")]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.MultiNodeTreePicker,
+ "Multinode Treepicker",
+ "contentpicker",
+ ValueType = ValueTypes.Text,
+ Group = Constants.PropertyEditors.Groups.Pickers,
+ Icon = "icon-page-add")]
public class MultiNodeTreePickerPropertyEditor : DataEditor
{
public MultiNodeTreePickerPropertyEditor(ILogger logger)
diff --git a/src/Umbraco.Web/PropertyEditors/MultiUrlPickerPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/MultiUrlPickerPropertyEditor.cs
index ea5d7aac8e..95ac809576 100644
--- a/src/Umbraco.Web/PropertyEditors/MultiUrlPickerPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/MultiUrlPickerPropertyEditor.cs
@@ -7,7 +7,14 @@ using Umbraco.Web.PublishedCache;
namespace Umbraco.Web.PropertyEditors
{
- [DataEditor(Constants.PropertyEditors.Aliases.MultiUrlPicker, EditorType.PropertyValue, "Multi Url Picker", "multiurlpicker", ValueType = ValueTypes.Json, Group = "pickers", Icon = "icon-link")]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.MultiUrlPicker,
+ EditorType.PropertyValue,
+ "Multi Url Picker",
+ "multiurlpicker",
+ ValueType = ValueTypes.Json,
+ Group = Constants.PropertyEditors.Groups.Pickers,
+ Icon = "icon-link")]
public class MultiUrlPickerPropertyEditor : DataEditor
{
private readonly IEntityService _entityService;
diff --git a/src/Umbraco.Web/PropertyEditors/MultipleTextStringPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/MultipleTextStringPropertyEditor.cs
index 141bdea7b6..1eb895075d 100644
--- a/src/Umbraco.Web/PropertyEditors/MultipleTextStringPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/MultipleTextStringPropertyEditor.cs
@@ -13,7 +13,13 @@ namespace Umbraco.Web.PropertyEditors
///
/// Represents a multiple text string property editor.
///
- [DataEditor(Constants.PropertyEditors.Aliases.MultipleTextstring, "Repeatable textstrings", "multipletextbox", ValueType = ValueTypes.Text, Icon="icon-ordered-list", Group="lists")]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.MultipleTextstring,
+ "Repeatable textstrings",
+ "multipletextbox",
+ ValueType = ValueTypes.Text,
+ Group = Constants.PropertyEditors.Groups.Lists,
+ Icon = "icon-ordered-list")]
public class MultipleTextStringPropertyEditor : DataEditor
{
///
diff --git a/src/Umbraco.Web/PropertyEditors/NestedContentPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/NestedContentPropertyEditor.cs
index 6dee2f78b5..7e91a3af79 100644
--- a/src/Umbraco.Web/PropertyEditors/NestedContentPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/NestedContentPropertyEditor.cs
@@ -18,7 +18,13 @@ namespace Umbraco.Web.PropertyEditors
///
/// Represents a nested content property editor.
///
- [DataEditor(Constants.PropertyEditors.Aliases.NestedContent, "Nested Content", "nestedcontent", ValueType = "JSON", Group = "lists", Icon = "icon-thumbnail-list")]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.NestedContent,
+ "Nested Content",
+ "nestedcontent",
+ ValueType = ValueTypes.Json,
+ Group = Constants.PropertyEditors.Groups.Lists,
+ Icon = "icon-thumbnail-list")]
public class NestedContentPropertyEditor : DataEditor
{
private readonly Lazy _propertyEditors;
diff --git a/src/Umbraco.Web/PropertyEditors/ParameterEditors/ContentTypeParameterEditor.cs b/src/Umbraco.Web/PropertyEditors/ParameterEditors/ContentTypeParameterEditor.cs
index cdab78d119..149243f122 100644
--- a/src/Umbraco.Web/PropertyEditors/ParameterEditors/ContentTypeParameterEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/ParameterEditors/ContentTypeParameterEditor.cs
@@ -6,7 +6,11 @@ namespace Umbraco.Web.PropertyEditors.ParameterEditors
///
/// Represents a content type parameter editor.
///
- [DataEditor("contentType", EditorType.MacroParameter, "Content Type Picker", "entitypicker")]
+ [DataEditor(
+ "contentType",
+ EditorType.MacroParameter,
+ "Content Type Picker",
+ "entitypicker")]
public class ContentTypeParameterEditor : DataEditor
{
///
diff --git a/src/Umbraco.Web/PropertyEditors/ParameterEditors/MultipleContentPickerParameterEditor.cs b/src/Umbraco.Web/PropertyEditors/ParameterEditors/MultipleContentPickerParameterEditor.cs
index 3d0d0eb923..0ca657ac39 100644
--- a/src/Umbraco.Web/PropertyEditors/ParameterEditors/MultipleContentPickerParameterEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/ParameterEditors/MultipleContentPickerParameterEditor.cs
@@ -7,7 +7,11 @@ namespace Umbraco.Web.PropertyEditors.ParameterEditors
///
/// Represents a parameter editor of some sort.
///
- [DataEditor(Constants.PropertyEditors.Aliases.MultiNodeTreePicker, EditorType.MacroParameter, "Multiple Content Picker", "contentpicker")]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.MultiNodeTreePicker,
+ EditorType.MacroParameter,
+ "Multiple Content Picker",
+ "contentpicker")]
public class MultipleContentPickerParameterEditor : DataEditor
{
///
diff --git a/src/Umbraco.Web/PropertyEditors/ParameterEditors/MultipleContentTypeParameterEditor.cs b/src/Umbraco.Web/PropertyEditors/ParameterEditors/MultipleContentTypeParameterEditor.cs
index 74bcafe30f..c8f19f8acd 100644
--- a/src/Umbraco.Web/PropertyEditors/ParameterEditors/MultipleContentTypeParameterEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/ParameterEditors/MultipleContentTypeParameterEditor.cs
@@ -3,7 +3,11 @@ using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors.ParameterEditors
{
- [DataEditor("contentTypeMultiple", EditorType.MacroParameter, "Multiple Content Type Picker", "entitypicker")]
+ [DataEditor(
+ "contentTypeMultiple",
+ EditorType.MacroParameter,
+ "Multiple Content Type Picker",
+ "entitypicker")]
public class MultipleContentTypeParameterEditor : DataEditor
{
public MultipleContentTypeParameterEditor(ILogger logger)
diff --git a/src/Umbraco.Web/PropertyEditors/ParameterEditors/MultiplePropertyGroupParameterEditor.cs b/src/Umbraco.Web/PropertyEditors/ParameterEditors/MultiplePropertyGroupParameterEditor.cs
index 87ddfb0b54..2a7079d578 100644
--- a/src/Umbraco.Web/PropertyEditors/ParameterEditors/MultiplePropertyGroupParameterEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/ParameterEditors/MultiplePropertyGroupParameterEditor.cs
@@ -3,7 +3,11 @@ using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors.ParameterEditors
{
- [DataEditor("tabPickerMultiple", EditorType.MacroParameter, "Multiple Tab Picker", "entitypicker")]
+ [DataEditor(
+ "tabPickerMultiple",
+ EditorType.MacroParameter,
+ "Multiple Tab Picker",
+ "entitypicker")]
public class MultiplePropertyGroupParameterEditor : DataEditor
{
public MultiplePropertyGroupParameterEditor(ILogger logger)
diff --git a/src/Umbraco.Web/PropertyEditors/ParameterEditors/MultiplePropertyTypeParameterEditor.cs b/src/Umbraco.Web/PropertyEditors/ParameterEditors/MultiplePropertyTypeParameterEditor.cs
index 124325dbd7..fe1432a655 100644
--- a/src/Umbraco.Web/PropertyEditors/ParameterEditors/MultiplePropertyTypeParameterEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/ParameterEditors/MultiplePropertyTypeParameterEditor.cs
@@ -3,7 +3,11 @@ using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors.ParameterEditors
{
- [DataEditor("propertyTypePickerMultiple", EditorType.MacroParameter, "Multiple Property Type Picker", "entitypicker")]
+ [DataEditor(
+ "propertyTypePickerMultiple",
+ EditorType.MacroParameter,
+ "Multiple Property Type Picker",
+ "entitypicker")]
public class MultiplePropertyTypeParameterEditor : DataEditor
{
public MultiplePropertyTypeParameterEditor(ILogger logger)
diff --git a/src/Umbraco.Web/PropertyEditors/ParameterEditors/PropertyGroupParameterEditor.cs b/src/Umbraco.Web/PropertyEditors/ParameterEditors/PropertyGroupParameterEditor.cs
index 76fa34341d..65ce595852 100644
--- a/src/Umbraco.Web/PropertyEditors/ParameterEditors/PropertyGroupParameterEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/ParameterEditors/PropertyGroupParameterEditor.cs
@@ -3,7 +3,11 @@ using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors.ParameterEditors
{
- [DataEditor("tabPicker", EditorType.MacroParameter, "Tab Picker", "entitypicker")]
+ [DataEditor(
+ "tabPicker",
+ EditorType.MacroParameter,
+ "Tab Picker",
+ "entitypicker")]
public class PropertyGroupParameterEditor : DataEditor
{
public PropertyGroupParameterEditor(ILogger logger)
diff --git a/src/Umbraco.Web/PropertyEditors/ParameterEditors/PropertyTypeParameterEditor.cs b/src/Umbraco.Web/PropertyEditors/ParameterEditors/PropertyTypeParameterEditor.cs
index b84749da27..4ea7c0ebdc 100644
--- a/src/Umbraco.Web/PropertyEditors/ParameterEditors/PropertyTypeParameterEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/ParameterEditors/PropertyTypeParameterEditor.cs
@@ -3,7 +3,11 @@ using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors.ParameterEditors
{
- [DataEditor("propertyTypePicker", EditorType.MacroParameter, "Property Type Picker", "entitypicker")]
+ [DataEditor(
+ "propertyTypePicker",
+ EditorType.MacroParameter,
+ "Property Type Picker",
+ "entitypicker")]
public class PropertyTypeParameterEditor : DataEditor
{
public PropertyTypeParameterEditor(ILogger logger)
diff --git a/src/Umbraco.Web/PropertyEditors/RadioButtonsPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/RadioButtonsPropertyEditor.cs
index 601728189c..f729decd2c 100644
--- a/src/Umbraco.Web/PropertyEditors/RadioButtonsPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/RadioButtonsPropertyEditor.cs
@@ -8,7 +8,13 @@ namespace Umbraco.Web.PropertyEditors
///
/// A property editor to allow the individual selection of pre-defined items.
///
- [DataEditor(Constants.PropertyEditors.Aliases.RadioButtonList, "Radio button list", "radiobuttons", ValueType = ValueTypes.String, Group="lists", Icon="icon-target")]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.RadioButtonList,
+ "Radio button list",
+ "radiobuttons",
+ ValueType = ValueTypes.String,
+ Group = Constants.PropertyEditors.Groups.Lists,
+ Icon = "icon-target")]
public class RadioButtonsPropertyEditor : DataEditor
{
private readonly ILocalizedTextService _textService;
diff --git a/src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs
index 297f9b7fb8..3ced379604 100644
--- a/src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs
@@ -15,7 +15,14 @@ namespace Umbraco.Web.PropertyEditors
///
/// Represents a rich text property editor.
///
- [DataEditor(Constants.PropertyEditors.Aliases.TinyMce, "Rich Text Editor", "rte", ValueType = ValueTypes.Text, HideLabel = false, Group="Rich Content", Icon="icon-browser-window")]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.TinyMce,
+ "Rich Text Editor",
+ "rte",
+ ValueType = ValueTypes.Text,
+ HideLabel = false,
+ Group = Constants.PropertyEditors.Groups.RichContent,
+ Icon = "icon-browser-window")]
public class RichTextPropertyEditor : DataEditor
{
///
diff --git a/src/Umbraco.Web/PropertyEditors/SliderPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/SliderPropertyEditor.cs
index c4a966cf49..8a98f15081 100644
--- a/src/Umbraco.Web/PropertyEditors/SliderPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/SliderPropertyEditor.cs
@@ -7,7 +7,11 @@ namespace Umbraco.Web.PropertyEditors
///
/// Represents a slider editor.
///
- [DataEditor(Constants.PropertyEditors.Aliases.Slider, "Slider", "slider", Icon = "icon-navigation-horizontal")]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.Slider,
+ "Slider",
+ "slider",
+ Icon = "icon-navigation-horizontal")]
public class SliderPropertyEditor : DataEditor
{
///
diff --git a/src/Umbraco.Web/PropertyEditors/TagsPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/TagsPropertyEditor.cs
index 578b6fcd00..fd7e8694a3 100644
--- a/src/Umbraco.Web/PropertyEditors/TagsPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/TagsPropertyEditor.cs
@@ -15,7 +15,11 @@ namespace Umbraco.Web.PropertyEditors
/// Represents a tags property editor.
///
[TagsPropertyEditor]
- [DataEditor(Constants.PropertyEditors.Aliases.Tags, "Tags", "tags", Icon="icon-tags")]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.Tags,
+ "Tags",
+ "tags",
+ Icon = "icon-tags")]
public class TagsPropertyEditor : DataEditor
{
private readonly ManifestValueValidatorCollection _validators;
diff --git a/src/Umbraco.Web/PropertyEditors/TextAreaPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/TextAreaPropertyEditor.cs
index f9ba99fd1e..c7bc2efbda 100644
--- a/src/Umbraco.Web/PropertyEditors/TextAreaPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/TextAreaPropertyEditor.cs
@@ -7,7 +7,13 @@ namespace Umbraco.Web.PropertyEditors
///
/// Represents a textarea property and parameter editor.
///
- [DataEditor(Constants.PropertyEditors.Aliases.TextArea, EditorType.PropertyValue | EditorType.MacroParameter, "Textarea", "textarea", ValueType = ValueTypes.Text, Icon="icon-application-window-alt")]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.TextArea,
+ EditorType.PropertyValue | EditorType.MacroParameter,
+ "Textarea",
+ "textarea",
+ ValueType = ValueTypes.Text,
+ Icon = "icon-application-window-alt")]
public class TextAreaPropertyEditor : DataEditor
{
///
diff --git a/src/Umbraco.Web/PropertyEditors/TextboxPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/TextboxPropertyEditor.cs
index 4862f6c9aa..18f8155198 100644
--- a/src/Umbraco.Web/PropertyEditors/TextboxPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/TextboxPropertyEditor.cs
@@ -7,7 +7,12 @@ namespace Umbraco.Web.PropertyEditors
///
/// Represents a textbox property and parameter editor.
///
- [DataEditor(Constants.PropertyEditors.Aliases.TextBox, EditorType.PropertyValue | EditorType.MacroParameter, "Textbox", "textbox", Group = "Common")]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.TextBox,
+ EditorType.PropertyValue | EditorType.MacroParameter,
+ "Textbox",
+ "textbox",
+ Group = Constants.PropertyEditors.Groups.Common)]
public class TextboxPropertyEditor : DataEditor
{
///
diff --git a/src/Umbraco.Web/PropertyEditors/TrueFalsePropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/TrueFalsePropertyEditor.cs
index ccd3bee744..fb2d2b29fe 100644
--- a/src/Umbraco.Web/PropertyEditors/TrueFalsePropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/TrueFalsePropertyEditor.cs
@@ -7,7 +7,14 @@ namespace Umbraco.Web.PropertyEditors
///
/// Represents a checkbox property and parameter editor.
///
- [DataEditor(Constants.PropertyEditors.Aliases.Boolean, EditorType.PropertyValue | EditorType.MacroParameter, "Checkbox", "boolean", ValueType = ValueTypes.Integer, Group = "Common", Icon="icon-checkbox")]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.Boolean,
+ EditorType.PropertyValue | EditorType.MacroParameter,
+ "Checkbox",
+ "boolean",
+ ValueType = ValueTypes.Integer,
+ Group = Constants.PropertyEditors.Groups.Common,
+ Icon = "icon-checkbox")]
public class TrueFalsePropertyEditor : DataEditor
{
///
diff --git a/src/Umbraco.Web/PropertyEditors/UserPickerPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/UserPickerPropertyEditor.cs
index 1d3ab05e96..daf574719a 100644
--- a/src/Umbraco.Web/PropertyEditors/UserPickerPropertyEditor.cs
+++ b/src/Umbraco.Web/PropertyEditors/UserPickerPropertyEditor.cs
@@ -6,7 +6,13 @@ using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
- [DataEditor(Constants.PropertyEditors.Aliases.UserPicker, "User picker", "entitypicker", ValueType = ValueTypes.Integer, Group = "People", Icon = Constants.Icons.User)]
+ [DataEditor(
+ Constants.PropertyEditors.Aliases.UserPicker,
+ "User picker",
+ "entitypicker",
+ ValueType = ValueTypes.Integer,
+ Group = Constants.PropertyEditors.Groups.People,
+ Icon = Constants.Icons.User)]
public class UserPickerPropertyEditor : DataEditor
{
public UserPickerPropertyEditor(ILogger logger)