Class XhtmlStringEditorDescriptor
Editor descriptor that will configure TinyMCE as the editor for XhtmlString properties.
Inheritance
System.Object
XhtmlStringEditorDescriptor
Namespace: EPiServer.Cms.TinyMce.Core
Assembly: EPiServer.Cms.TinyMce.dll
Version: 2.13.4Syntax
public class XhtmlStringEditorDescriptor : EditorDescriptor
Constructors
XhtmlStringEditorDescriptor(ServiceAccessor<TinyMceConfiguration>)
Initializes a new instance of the XhtmlStringEditorDescriptor class.
Declaration
public XhtmlStringEditorDescriptor(ServiceAccessor<TinyMceConfiguration> tinyMceConfiguration)
Parameters
Type | Name | Description |
---|---|---|
EPiServer.ServiceLocation.ServiceAccessor<TinyMceConfiguration> | tinyMceConfiguration |
Methods
ModifyMetadata(ExtendedMetadata, IEnumerable<Attribute>)
Modifies the metadata, adding any custom data, validators.
Declaration
public override void ModifyMetadata(ExtendedMetadata metadata, IEnumerable<Attribute> attributes)
Parameters
Type | Name | Description |
---|---|---|
EPiServer.Shell.ObjectEditing.ExtendedMetadata | metadata | The metadata. |
System.Collections.Generic.IEnumerable<System.Attribute> | attributes | The custom attributes attached to the model class. |