Constructor
new CodeMirrorVisualEditor(surface, langExtension)
#
Parameters:
Name | Type | Description |
---|---|---|
surface |
ve.ui.Surface | |
langExtension |
LanguageSupport | Extension |
- Source:
Properties
contentAttributesExtension
#
- Source:
defaultExtensions
#
- Source:
heightExtension
#
- Source:
readOnly
#
- Source:
surface :ve.ui.Surface
#
The VisualEditor surface CodeMirror is bound to.
Type:
- Source:
The VisualEditor surface CodeMirror is bound to.
surfaceView :ve.ce.Surface
#
The ContentEditable surface.
Methods
activate()
#
- Source:
addEditRecoveredHandler()
#
- Source:
addFormSubmitHandler()
#
- Source:
addTextAreaJQueryHook()
#
- Source:
deactivate()
#
- Source:
logEditFeature()
#
Log usage of CodeMirror to the VisualEditorFeatureUse schema.
Log usage of CodeMirror to the VisualEditorFeatureUse schema.
setupFeatureLogging()
#
- Source: