Go to file
Roan Kattouw dbf232a7dc Clean up deactivate mess
Both onDocumentKeyDown and onViewTabClick would check
this.activating and invoke deactivate() differently depending
on its value. That's ugly, so incorporate the "don't show a dialog
if deactivating during activation" logic into deactivate() itself.

Rename the override parameter to noDialog, and fix the broken
logic around it (it overrode too much).

Also move setting this.activating = false; out of these event
handlers into cancel(), where it clearly belongs because
activatingDeferred is being rejected there.

Change-Id: I6c040c74d36f829128a175f00d4e712dd19d31a7
2014-12-02 16:50:36 -08:00
.docs Update VE core submodule to master (b5a0269) 2014-11-28 18:59:42 -08:00
bin Provide a script to automatically list recent commits for pre-deployment review 2014-06-12 12:29:18 -07:00
build/tasks Use submodule for VisualEditor core 2013-12-20 09:18:41 +00:00
lib Cancel VE when escape key pressed 2014-12-02 16:29:15 -08:00
modules Clean up deactivate mess 2014-12-02 16:50:36 -08:00
.csslintrc
.gitignore
.gitmodules Use submodule for VisualEditor core 2013-12-20 09:18:41 +00:00
.gitreview
.jscsrc Switch 'disallowQuotedKeysInObjects' jscs rule on and fix up 2014-08-22 13:50:48 -07:00
.jshintignore
.jshintrc test: Move mw into the global list of globals for VE-MW 2014-07-19 17:42:45 +00:00
.rubocop.yml [BrowserTest] RuboCop should not complain about number of lines in a method 2014-11-21 16:57:27 +00:00
.rubocop_todo.yml [BrowserTest] RuboCop should not complain about number of lines in a method 2014-11-21 16:57:27 +00:00
ApiVisualEditor.php Add i18n for API module help 2014-10-29 13:59:41 -07:00
ApiVisualEditorEdit.php Merge "Don't try to get newtimestamp from edit if no change was made" 2014-11-17 17:48:44 +00:00
AUTHORS.txt AUTHORS.txt: Credit libraries as well as direct contributors 2014-11-13 16:45:03 +00:00
betafeatures-icon-VisualEditor-language-ltr.svg Run node-svgo to crush all SVGs whilst retaining readibility 2014-07-01 16:58:05 -07:00
betafeatures-icon-VisualEditor-language-rtl.svg Run node-svgo to crush all SVGs whilst retaining readibility 2014-07-01 16:58:05 -07:00
betafeatures-icon-VisualEditor-ltr.svg Run node-svgo to crush all SVGs whilst retaining readibility 2014-07-01 16:58:05 -07:00
betafeatures-icon-VisualEditor-rtl.svg Run node-svgo to crush all SVGs whilst retaining readibility 2014-07-01 16:58:05 -07:00
CONTRIBUTING.md Fix dead links in README.md and CONTRIBUTING.md 2014-03-10 18:26:30 +01:00
Gemfile [BrowserTest] update Gemfile to prevent rubocop failures in gerrit 2014-11-21 09:30:04 -07:00
Gemfile.lock [BrowserTest] rubocop proper format for comments 2014-11-21 09:21:53 -07:00
Gruntfile.js build: Remove stray '*' before '/**' in csslint file pattern 2014-10-11 03:21:21 +02:00
LICENSE.txt Fix more copyright headers not updated to 2014 2014-01-13 15:08:24 +00:00
package.json build: Update grunt-jscs devDependency to latest 2014-11-17 19:50:46 -08:00
README.md README: Add devDependencies badge 2014-09-16 13:39:31 -07:00
VisualEditor.hooks.php Update VE core submodule to master (673cf05) 2014-11-26 01:06:16 +00:00
VisualEditor.php Update VE core submodule to master (b5a0269) 2014-11-28 18:59:42 -08:00
VisualEditorDataModule.php Use Config instead of globals 2014-08-15 15:50:26 -07:00
VisualEditorViewPageTargetInitModule.php Fix copyright notice in VisualEditorViewPageTargetInitModule.php header 2014-09-10 12:07:56 -07:00

devDependency Status

VisualEditor

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 VisualEditor and Parsoid pages on mediawiki.

Developing and installing

For information on installing VisualEditor on a local wiki, please see https://www.mediawiki.org/wiki/Extension:VisualEditor

For information about running tests and contributing code to VisualEditor, see CONTRIBUTING.md. Patch submissions are reviewed and managed with Gerrit. There is also API documentation available for the VisualEditor.