mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
8eadcb0a26
Fixed two bugs found after merging: 1. Opened the Math node inspector without editing anything, then clicked somewhere else on the page, it crashed. 2. Similarly, opened the Math node inspector without editing anything, then clicked the "Cancel" button to cancel the edit, it crashed. Both of these problems are fixed by this patch. The issue was with using the getFocusedNode() in the inspector onClose function to save changes. Also, I included some minor changes relating to the last code review. =D Change-Id: I6e200f2a228b71dc5af5aa9843c461f43b926f8d |
||
---|---|---|
.docs | ||
demos | ||
maintenance | ||
modules | ||
.csslintrc | ||
.gitignore | ||
.gitreview | ||
.jshintignore | ||
.jshintrc | ||
ApiVisualEditor.php | ||
ApiVisualEditorEdit.php | ||
AUTHORS.txt | ||
CODING.md | ||
Gruntfile.js | ||
LICENSE.txt | ||
package.json | ||
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