View Source
Class RichTextPropertyEditor
Represents a rich text property editor.
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
[DataEditor("Umbraco.TinyMCE", "Rich Text Editor", "rte", ValueType = "TEXT", HideLabel = false, Group = "Rich Content", Icon = "icon-browser-window")]
public class RichTextPropertyEditor : DataEditor, IDataEditor, IDiscoverable
Constructors
View Source
RichTextPropertyEditor(ILogger, IUmbracoContextAccessor, HtmlImageSourceParser, HtmlLocalLinkParser, RichTextEditorPastedImages)
The constructor will setup the property editor based on the attribute if one is found
Declaration
[Obsolete("Use the constructor which takes an IHtmlSanitizer")]
public RichTextPropertyEditor(ILogger logger, IUmbracoContextAccessor umbracoContextAccessor, HtmlImageSourceParser imageSourceParser, HtmlLocalLinkParser localLinkParser, RichTextEditorPastedImages pastedImages)
Parameters
View Source
RichTextPropertyEditor(ILogger, IUmbracoContextAccessor, HtmlImageSourceParser, HtmlLocalLinkParser, RichTextEditorPastedImages, IImageUrlGenerator)
Declaration
[Obsolete("Use the constructor which takes an IHtmlSanitizer")]
public RichTextPropertyEditor(ILogger logger, IUmbracoContextAccessor umbracoContextAccessor, HtmlImageSourceParser imageSourceParser, HtmlLocalLinkParser localLinkParser, RichTextEditorPastedImages pastedImages, IImageUrlGenerator imageUrlGenerator)
Parameters
View Source
RichTextPropertyEditor(ILogger, IUmbracoContextAccessor, HtmlImageSourceParser, HtmlLocalLinkParser, RichTextEditorPastedImages, IImageUrlGenerator, IHtmlSanitizer)
The constructor will setup the property editor based on the attribute if one is found
Declaration
public RichTextPropertyEditor(ILogger logger, IUmbracoContextAccessor umbracoContextAccessor, HtmlImageSourceParser imageSourceParser, HtmlLocalLinkParser localLinkParser, RichTextEditorPastedImages pastedImages, IImageUrlGenerator imageUrlGenerator, IHtmlSanitizer htmlSanitizer)
Parameters
Properties
View Source
PropertyIndexValueFactory
Declaration
public override IPropertyIndexValueFactory PropertyIndexValueFactory { get; }
Property Value
Methods
View Source
CreateConfigurationEditor()
Declaration
protected override IConfigurationEditor CreateConfigurationEditor()
Returns
View Source
CreateValueEditor()
Create a custom value editor
Declaration
protected override IDataValueEditor CreateValueEditor()
Returns