mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 08:10:35 +00:00
7fe7182f43
Fleshes out ve.dm.Annotation to a class. Annotations in the linear model will be instances of a subclass of ve.dm.Annotation. Annotations are defined by subclassing ve.dm.Annotation and registering this subclass with ve.dm.AnnotationFactory. ve.dm.AnnotationFactory keeps track of which annotation classes are known, and has code to match an HTML element to an annotation class, for use in the converter. Change-Id: I68802bdb8736ced1f9e04ee49c623944b448141c |
||
---|---|---|
demos/ve | ||
modules | ||
.gitignore | ||
.gitreview | ||
.jshintignore | ||
.jshintrc | ||
ApiVisualEditor.php | ||
AUTHORS.txt | ||
CODING.md | ||
LICENSE.txt | ||
README.txt | ||
VisualEditor.hooks.php | ||
VisualEditor.i18n.php | ||
VisualEditor.php | ||
VisualEditorMessagesModule.php |
VisualEditor provides a visual editor for wiki pages. It is written in JavaScript and runs in a web browser. It uses the Parsoid parser to convert wikitext documents to annotated HTML which the VisualEditor is able to load, modify and emit back to Parsoid at which point it is converted back into wikitext. For more information about these projects, check out the wiki: * http://www.mediawiki.org/wiki/VisualEditor * http://www.mediawiki.org/wiki/Parsoid