HtmlEditorHtmlEditingSettings.AllowedDocumentType Property
Specifies document type allowed in the ASPxHtmlEditor.
Namespace: DevExpress.Web.ASPxHtmlEditor
Assembly: DevExpress.Web.ASPxHtmlEditor.v24.2.dll
Declaration
[DefaultValue(AllowedDocumentType.XHTML)]
public AllowedDocumentType AllowedDocumentType { get; set; }
Property Value
Type | Default | Description |
---|---|---|
AllowedDocumentType | XHTML | One of the enumeration values. |
Available values:
Name | Description |
---|---|
XHTML | Only the XHTML 1.0 Transitional document type is allowed. |
HTML5 | Only the HTML 5 document type is allowed. |
Both | Both the XHTML 1.0 Transitional and HTML 5 document types are allowed. |
Remarks
The ASPxHtmlEditor control does not support the DOCTYPE
tag. Use the AllowedDocumentType
property to specify the document type for the HTML content. The control removes elements that do not conform to the rules of the specified document type.
See Also