Properties
dialect :string
#
The dialect of the mode.
Either normal css or sanitized-css for
TemplateStyles.
Type:
- string
- Source:
The dialect of the mode.
extension
#
The complete set of extensions for this mode, including the language and any supporting extensions.
- Overrides:
- Source:
The complete set of extensions for this mode, including the language and any supporting extensions.
hasWorker
#
Whether the mode should load a web worker.
- Overrides:
- Source:
Whether the mode should load a web worker.
lintApi :LintSource|undefined
#
undefined
#
The function to lint the code in the editor using a MediaWiki API.
Type:
-
LintSource
|
undefined
- Overrides:
- Source:
The function to lint the code in the editor using a MediaWiki API.
lintSource :LintSource|undefined
#
undefined
#
The function to lint the code in the editor.
name :string
#
The name of the mode.
Type:
- string
- Overrides:
- Source:
The name of the mode.
worker :CodeMirrorWorker|undefined
#
undefined
#
The web worker for the mode, if any.