mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
f4c6ba8545
* Fixed image serializer to deal with missing 'v' value in a k-v pair representing an image attribute. * Added fix to deal with bare <li>'s (without surrounding <ul> tags) NOTE: The second fix is required currently to deal with bugs in the parser as it deals with complex cases. But, in the future, we could deal with this in one of the following ways: (a) The serializer expects a well-formed DOM and all cleanup will be done as part of external tools/passes. (b) The serializer supports a small set of exceptional cases and bare list items could be one of them (c) The serializer ought to handle any DOM that is thrown at it. Yet to be resolved. Change-Id: Ib585e5c9f2a8a80854740ce0211bde705f9fd6f4 |
||
---|---|---|
api | ||
demos/ve | ||
modules | ||
tests | ||
.gitignore | ||
.gitreview | ||
ApiVisualEditor.php | ||
README | ||
SpecialVisualEditorSandbox.php | ||
VisualEditor.alias.php | ||
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