mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
e3af50ea68
* addAttribute and getAttribute do the obvious and simple thing * addNormalizedAttribute remembers an unnormalized version of an attribute and supports change detection for the normalized attribute * getAttributeSource retrieves the original attribute if there was a normalized version which was not changed, or the current value (potentially based on the normalized version) otherwise. For use by the WikitextSerializer. Change-Id: I72533cf6cfff1ddb88be2501653c7c47d270898c |
||
---|---|---|
api | ||
demos/ve | ||
modules | ||
tests | ||
.gitignore | ||
.gitreview | ||
.jshintignore | ||
.jshintrc | ||
ApiVisualEditor.php | ||
AUTHORS.txt | ||
LICENSE.txt | ||
README.txt | ||
VisualEditor.hooks.php | ||
VisualEditor.i18n.php | ||
VisualEditor.php | ||
VisualEditorMessagesModule.php |
VisualEditor and Parsoid work together to provide a visual editor for wiki pages. Parsoid is used 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. Both projects are written in JavaScript. Parsoid runs on Node.js while VisualEditor runs in a web browser. For more information about these projects, check out the wiki: * http://www.mediawiki.org/wiki/VisualEditor * http://www.mediawiki.org/wiki/Parsoid