HtmlEditorContentElementFiltering.AttributeFilterMode Property
Specifies the filtering mode for attribute elements.
Namespace: DevExpress.Web.ASPxHtmlEditor
Assembly: DevExpress.Web.ASPxHtmlEditor.v24.2.dll
Declaration
[DefaultValue(HtmlEditorFilterMode.BlackList)]
public HtmlEditorFilterMode AttributeFilterMode { get; set; }
Property Value
Type | Default | Description |
---|---|---|
HtmlEditorFilterMode | BlackList | One of the HtmlEditorFilterMode enumeration values. |
Available values:
Name | Description |
---|---|
BlackList | Specified elements are prohibited and will be removed; other elements will be maintained. |
WhiteList | Specified elements are allowed and will be maintained; other elements will be removed. |
Remarks
ASPxHtmlEditor provides you with the capability to filter content elements. You can specify filter rules for tags, attributes, and style attributes.
Use the AttributeFilterMode property to specify the filtering mode that is applied to the attribute elements listed in the HtmlEditorContentElementFiltering.Attributes property.
See Also