Go to file
Bartosz Dziewoński 26062fd3a0 ve.dm.MWGalleryNode: Preserve 'class' attribute unchanged
By removing this line, we fall back to the default behavior,
which is to copy the attribute from the original DOM element.

The gallery is supposed to have a class indicating the type (packed,
traditional, etc.). However, Parsoid doesn't care about that and
instead reads the type from 'data-mw'. Instead, changing the attribute
is causing dirty diffs.

Bug: T214649
Change-Id: I96b5a21777046b1caf07a3b1def9fad81bb15939
2020-02-14 22:05:50 +01:00
.jsduck Update VE core submodule to master (e1760b7f7) 2020-02-06 12:05:48 -08:00
.phan Add phan 2019-05-31 14:48:22 +00:00
bin
build eslint: Remove unused prefer-template rule; use proper globals values 2019-10-07 17:22:24 +00:00
i18n Localisation updates from https://translatewiki.net. 2020-02-12 09:01:08 +01:00
images
includes Remove use of Title::quickUserCan 2020-02-12 06:49:52 +00:00
lib Update VE core submodule to master (792df1cd0) 2020-02-11 11:00:55 -08:00
maintenance doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
modules ve.dm.MWGalleryNode: Preserve 'class' attribute unchanged 2020-02-14 22:05:50 +01:00
screenshots
.eslintrc.json Replace $.when with ve.promiseAll 2019-11-04 22:06:54 +08:00
.gitignore
.gitmodules .gitmodules: Update gerrit URI syntax, deprecated ages ago, now unsupported 2019-03-19 16:49:03 +00:00
.gitreview
.mailmap
.phpcs.xml Fix new documentation sniffs 2020-01-10 16:28:16 -08:00
.rubocop.yml
.rubocop_todo.yml
.stylelintrc.json
AUTHORS.txt
composer.json build: Updating composer dependencies 2020-01-26 18:27:39 +00:00
CONTRIBUTING.md doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
extension.json ArticleTargetSaver: Fix error messages 2020-02-12 22:18:40 +01:00
Gemfile
Gemfile.lock
Gruntfile.js build: Update linters 2019-11-01 16:20:22 +00:00
jsduck.json Update VE core submodule to master (0b17a137b) 2019-09-05 13:03:41 -07:00
LICENSE.txt doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
package-lock.json build: Updating npm dependencies 2020-01-07 09:54:44 +00:00
package.json build: Updating npm dependencies 2020-01-07 09:54:44 +00:00
Rakefile
README.md
VisualEditor.i18n.alias.php doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
VisualEditor.php doc: Bump copyright year for 2020 2020-01-08 09:13:24 -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.