* Clean up datatype configurations for V14 * Fix merge * Remove ParameterEditorCollection + revert accidental changes to core project file
19 lines
625 B
C#
19 lines
625 B
C#
namespace Umbraco.Cms.Core.PropertyEditors;
|
|
|
|
/// <summary>
|
|
/// Represents a property editor for configuration-less JSON properties.
|
|
/// </summary>
|
|
[DataEditor(
|
|
Constants.PropertyEditors.Aliases.PlainJson,
|
|
ValueEditorIsReusable = true,
|
|
ValueType = ValueTypes.Json)]
|
|
public class PlainJsonPropertyEditor : DataEditor
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="PlainJsonPropertyEditor" /> class.
|
|
/// </summary>
|
|
public PlainJsonPropertyEditor(IDataValueEditorFactory dataValueEditorFactory)
|
|
: base(dataValueEditorFactory)
|
|
=> SupportsReadOnly = true;
|
|
}
|