Creates parameter editor manfests and resolver, updates the legacy macro editor to resolve items from here.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
using Umbraco.Core.IO;
|
||||
|
||||
@@ -45,6 +46,18 @@ namespace Umbraco.Core.PropertyEditors
|
||||
[JsonProperty("name", Required = Required.Always)]
|
||||
public string Name { get; internal set; }
|
||||
|
||||
/// <summary>
|
||||
/// Allows a parameter editor to be re-used based on the configuration specified.
|
||||
/// </summary>
|
||||
[JsonProperty("config")]
|
||||
public virtual IDictionary<string, object> Configuration { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public ParameterValueEditor ValueEditor
|
||||
{
|
||||
get { return CreateValueEditor(); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a value editor instance
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user