mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
e6fd823d6f
Opera triggers 'blur' on the document node when clicking on any <a> link and never trigger 'focus' until after the user blurs the document node *again* (by clicking outside of it or pressing 'Esc'). This causes the change polling to stop (SurfaceObserver#stop is called without a subsequent call to SurfaceObserver#start). To avoid this let's bind a delegated 'focus' event on all <a> links inside the document and refocus it whenever that happens. Bug: 47793 Change-Id: I7962f59bd02e075f91e42e6514b390c0d0feb3ab |
||
---|---|---|
.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