Go to file
Florianschmidtwelzow 4981a8253d Allow skin developers to set an offset for toolbar floating
Usage:
In a skin, that needs this offset, e.g. because it has a fixed header, it should add
this config var somewhere before the hook BeforeOutputPage is called:

$wgVisualEditorSkinToolbarScrollOffset['vector'] = 60;
(if 60px is the offset to use)

Depends on: I2e10c12df8277c84d948e48c6a132c03d6324693

Bug: T95528
Change-Id: Iaa86c2f68afa6403fcc4f5b7c655704512beead4
2015-07-28 11:18:07 -07:00
.jsduck Update VE core submodule to master (edaa19b) 2015-07-18 17:19:05 -05:00
bin Merge "Follow-up a4bbe98cd: Kill emptiness hack check in bin/updateSubmodule.sh too" 2015-04-29 00:58:51 +00:00
build/tasks Use submodule for VisualEditor core 2013-12-20 09:18:41 +00:00
lib Update VE core submodule to master (cb14f66) 2015-07-28 10:27:25 -07:00
modules Allow skin developers to set an offset for toolbar floating 2015-07-28 11:18:07 -07:00
.csslintrc Transform the search widget to show image details 2015-01-16 13:22:54 +00:00
.gitignore Add a couple of patterns to .gitignore for emacs 2015-05-13 19:11:05 -04:00
.gitmodules Use submodule for VisualEditor core 2013-12-20 09:18:41 +00:00
.gitreview Set defaultrebase=0 2012-06-20 16:27:40 -07:00
.jscsrc build: Drop last jscs over-ride and make pass 2015-07-22 15:13:09 -07:00
.jshintignore Move libraries to the lib/ directory 2013-12-19 23:02:52 +01:00
.jshintrc jshint: Kill file-level globals and add "moment" to the list 2015-05-06 19:01:27 +00:00
.mailmap mailmap: Add an additional e-mail for Bartosz per request 2015-05-31 13:04:29 -07: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] Remove outdated offenses from .rubocop_todo.yml 2015-02-20 13:39:18 +02:00
ApiVisualEditor.php Replace wgVisualEditorNamespaces with an associative array 2015-07-23 18:49:21 +00:00
ApiVisualEditorEdit.php Merge "Replace wgVisualEditorNamespaces with an associative array" 2015-07-23 23:59:51 +00:00
AUTHORS.txt Update AUTHORS.txt, $wgExtensionCredits and .mailmap based on git shortlog 2015-03-26 11:05:02 -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
composer.json build: Updating development dependencies 2015-06-19 23:32:37 +02:00
CONTRIBUTING.md Fix dead links in README.md and CONTRIBUTING.md 2014-03-10 18:26:30 +01:00
extension.json Allow skin developers to set an offset for toolbar floating 2015-07-28 11:18:07 -07:00
Gemfile [BrowserTest] Update the commons_upload gem 2015-06-19 13:19:33 +03:00
Gemfile.lock [BrowserTest] Update the commons_upload gem 2015-06-19 13:19:33 +03:00
Gruntfile.js Follow-up 8b7b20b9: Add new i18n directory to banana testing 2015-07-18 09:30:01 -05:00
jsduck.json build: Move pre/post 'doc' task into package.json 2015-04-06 17:18:29 +01:00
LICENSE.txt build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
package.json build: Configure jsonlint 2015-06-13 01:14:38 -07:00
README.md README: Add devDependencies badge 2014-09-16 13:39:31 -07:00
VisualEditor.hooks.php Allow skin developers to set an offset for toolbar floating 2015-07-28 11:18:07 -07:00
VisualEditor.php Re-do: Empty out PHP entry point 2015-07-02 01:50:57 +00:00
VisualEditorDataModule.php build: Updating development dependencies 2015-06-19 23:32:37 +02:00
VisualEditorViewPageTargetInitModule.php build: Bump copyright notices to 2015 2015-01-12 20:34:19 -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.