HtmlSettingsAttribute.TagsFilter Property
Gets or sets the tag elements that will be filtered according to the specified filter mode.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v23.2.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Property Value
Type | Description |
---|---|
String | A String value that contains the tag elements. |
Remarks
HtmlEditor provides you with the capability to filter content elements. You can specify filter rules for tags, attributes, and style attributes.
Use the TagsFilter property to specify a comma-separated list of tag elements that will be maintained or removed (based on the HtmlSettingsAttribute.TagFilterMode property value) from the editor content.
[HtmlSettings(TagFilterMode = HtmlEditorFilterMode.WhiteList, TagsFilter = "DIV, SPAN")]
See Also