Skip to main content

HtmlEditorHtmlEditingSettings.AllowStyleAttributes Property

Gets or sets a value that specifies whether the editor’s HTML markup can contain style attributes.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v24.2.dll

Declaration

[DefaultValue(true)]
public bool AllowStyleAttributes { get; set; }

Property Value

Type Default Description
Boolean true

true if style attributes are allowed within the editor’s content; false if style attributes are automatically removed from the editor’s HTML markup.

See Also