Constructor
new ve.dm.Converter(modelRegistry, nodeFactory, annotationFactory)
#
DataModel converter.
Converts between HTML DOM and VisualEditor linear data.
Parameters:
Name | Type | Description |
---|---|---|
modelRegistry |
ve.dm.ModelRegistry | |
nodeFactory |
ve.dm.NodeFactory | |
annotationFactory |
ve.dm.AnnotationFactory |
- Source:
DataModel converter.
Properties
whitespaceList :stringstatic
#
Pattern matching 'white space characters' as defined by the HTML spec only.
All other whitespace should be treated as text, e.g. non-breaking spaces.
Type:
- string
- Source:
Pattern matching 'white space characters' as defined by the HTML spec only.