HtmlSettingsAttribute.AllowedDocumentType Property
In This Article
Gets or sets a value that specifies what document types are allowed in the HtmlEditor.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public AllowedDocumentType AllowedDocumentType { get; set; }
#Property Value
Type | Description |
---|---|
Allowed |
One of the Allowed |
Available values:
Name | Description |
---|---|
XHTML | Only the XHTML 1. |
HTML5 | Only the HTML 5 document type is allowed. |
Both | Both the XHTML 1. |
#Remarks
Use the AllowedDocumentType property to specify document types that are allowed within the editor. Elements that do not conform to the rules of the specified document type are removed.
See Also