mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
bcaab3332e
Icon appears when scrolling and resizing window. Instead of always setting the context on scroll and resize, bind to the updateContextIcon method. Icon appears when selecting a non content data offset. Changed logic to show icon changed to content length vs range difference. Move Link inspector getSelectionText to ve.dm.document getText. Rationale, more bits of the code depend on evaluating content. Added new ve.Range truncate method. Remove getSelectionText, using truncate range & document.getText instead. Change-Id: Ibd3e99c923f18d2c96a86d92e74e2e9ebd49c85f |
||
---|---|---|
demos/ve | ||
modules | ||
.gitignore | ||
.gitreview | ||
.jshintignore | ||
.jshintrc | ||
ApiVisualEditor.php | ||
AUTHORS.txt | ||
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