Extends
Constructor
new CodeMirrorAbuseFilterValidator()
#
Properties
contentmodel :string
#
The content model of the page being edited, used for context in validation.
Type:
- string
- Inherited from:
- Source:
The content model of the page being edited, used for context in validation.
denied :boolean
#
Whether the user is denied permission to access the validation API.
Type:
- boolean
- Inherited from:
- Source:
Whether the user is denied permission to access the validation API.
title :string
#
The title of the page being edited, used for context in validation.
Type:
- string
- Inherited from:
- Source:
The title of the page being edited, used for context in validation.
Methods
execute(content) → {Promise}async
#
Get diagnostics for the given content.
Parameters:
| Name | Type | Description |
|---|---|---|
content |
string |
Returns:
- Type
- Promise
- Inherited from:
- Source:
Get diagnostics for the given content.