HtmlEditorHtmlEditingSettings.AllowScripts Property
Gets or sets a value that specifies whether the editor’s HTML markup can contain scripts.
Namespace: DevExpress.Web.ASPxHtmlEditor
Assembly: DevExpress.Web.ASPxHtmlEditor.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false |
|
Remarks
Use the AllowScripts property to specify whether the editor’s content should be kept safe and any potentially harmful markup code, such as scripts, should be automatically removed from the editor’s HTML markup.
If this property is set to false
, script elements, client-side event handlers and ‘HREF’ attributes with script content will be automatically removed from the editor’s HTML markup.
See Also