Go to file
David Lynch 4e938e58c7 init.mw.Target: make getSurfaceConfig aware of modes
ve.init.Target sets up TriggerListeners based on getSurfaceConfig if there's
no Surface instantiated. As such, loading directly in source mode would have
those listeners present and assuming the document is in visual mode. So, if
there's not a Surface already, we'll assume we're going to get one created
with the defaultMode, and set things up expecting that.

Bug: T153959
Change-Id: Ia0afe32e6b63ea0d3418137ca5c8bc32c009ecfa
2017-10-10 15:14:25 -05:00
.jsduck Update VE core submodule to master (7028f79aa) 2017-09-13 08:29:52 -07:00
bin bin/updateSubmodule.sh: Copy 'Bug:' lines from included changes 2017-09-13 18:14:41 +02:00
build build: Upgrade grunt-eslint from 19.0.0 to 20.0.0 2017-07-18 12:55:33 +01:00
lib Update VE core submodule to master (c5c5123) 2017-10-09 13:59:54 -07:00
modules init.mw.Target: make getSurfaceConfig aware of modes 2017-10-10 15:14:25 -05:00
screenshots
.eslintrc.json mw.DesktopArticleTarget: Use require() for mw.page.watch 2017-05-24 21:17:02 +00:00
.gitignore Add .idea to .gitignore 2017-01-27 13:16:58 +01:00
.gitmodules
.gitreview .gitreview: swapping defaultbranch for track 2016-10-25 10:58:48 +02:00
.mailmap
.rubocop.yml
.rubocop_todo.yml
.stylelintrc.json Update VE core submodule to master (6111ca575) 2017-08-21 11:28:34 -07:00
ApiVisualEditor.php Make sure content is set 2017-10-05 00:43:48 -05:00
ApiVisualEditorEdit.php ApiVisualEditorEdit: Make tryDeflate public and static 2017-09-14 14:48:18 -07:00
AUTHORS.txt
autodisablePref.php build: Enable MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2017-05-11 08:19:44 -07:00
betafeatures-icon-VisualEditor-ltr.svg Update beta feature screenshots to use proper layout and colours 2016-10-12 16:39:27 -07:00
betafeatures-icon-VisualEditor-rtl.svg Update beta feature screenshots to use proper layout and colours 2016-10-12 16:39:27 -07:00
betafeatures-icon-WikitextEditor-ltr.svg Update beta feature screenshots to use proper layout and colours 2016-10-12 16:39:27 -07:00
betafeatures-icon-WikitextEditor-rtl.svg Update beta feature screenshots to use proper layout and colours 2016-10-12 16:39:27 -07:00
composer.json build: Updating mediawiki/mediawiki-codesniffer to 13.0.0 2017-09-24 03:51:19 +00:00
CONTRIBUTING.md Update link to contributing guidelines 2017-08-21 18:22:35 -04:00
extension.json DesktopArticleTarget.init: Load 'mediawiki.action.view.postEdit' via loader 2017-10-05 15:54:20 -07:00
Gemfile Delete Ruby Selenium tests 2017-09-29 16:55:12 +02:00
Gemfile.lock Delete Ruby Selenium tests 2017-09-29 16:55:12 +02:00
Gruntfile.js Update VE core submodule to master (6111ca575) 2017-08-21 11:28:34 -07:00
jsduck.json Update VE core submodule to master (7a8829509) 2017-08-31 11:39:36 -07:00
LICENSE.txt build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
package.json build: Update eslint-config-wikimedia 0.4->0.5 2017-08-25 16:08:08 +01:00
phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 13.0.0 2017-09-24 03:51:19 +00:00
Rakefile Delete Ruby Selenium tests 2017-09-29 16:55:12 +02:00
README.md
VisualEditor.hooks.php Merge ""Automatically enable all new beta features" should enable 2017 editor" 2017-09-26 22:59:39 +00:00
VisualEditor.i18n.alias.php Provide VE-rebaser in MediaWiki as Special:CollabPad 2017-05-20 19:51:09 +00:00
VisualEditor.php build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
VisualEditorDataModule.php VisualEditorDataModule: Do not expand templates in plain text messages 2017-08-23 20:08:36 +02:00
VisualEditorDesktopArticleTargetInitModule.php build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08: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.