mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 14:33:59 +00:00
1a4c60ed17
Previously, we would translate to the right of an insertion, but for wrapping transactions that means we end up with something like <ul><li>|<p>...</p></li></ul>|, which doesn't make any sense. This change changes this to <ul><li>|<p>...</p>|</li></ul>. * Add parameter to translateOffset() that toggles the behavior for the offset before an insertion * In translateRange(), translate start and end differently ** In some cases this can map them across each other, fix that Change-Id: Ia2197b08d9f6763be3f2db5a59546ddc3f74a281 |
||
---|---|---|
.docs | ||
demos | ||
maintenance | ||
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