Go to file
Bartosz Dziewoński d0c45940d0 ve.ui.MWSaveDialog: Remove meta element filtering from wikitext preview
Once upon a time, we added code to filter <style> and <link> elements
from the rendering of templates in visual editor, because attempting
to cut them would crash Chrome (T52043).

There are at least three reasons why that is not needed here:
* The preview is not editable text, so you can't cut from it
* The Chrome bug was fixed 7 years ago anyway
* We now use TemplateStyles in articles and they work just fine

The code was added here in 9dd638a5ab
without explanation, I think it was just done for consistency.

Bug: T212085
Change-Id: I0712e3a081f04d0b74cda47652fa6eb118dfe7b2
2020-03-05 16:57:51 +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 updateSubmodule: Put list in topo (merged), not written, order 2018-05-10 08:51:37 -07:00
build screenshots: Fix local test runner 2020-02-25 12:45:20 +00:00
i18n Localisation updates from https://translatewiki.net. 2020-03-05 08:40:28 +01:00
images Merge "Re-crush beta feature SVG screenshots" 2018-02-08 12:18:28 +00:00
includes Merge "Pass a user when creating a new ParserOptions" 2020-03-04 08:12:02 +00:00
lib Update VE core submodule to master (1240e4ead) 2020-03-04 15:27:32 -08:00
maintenance doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
modules ve.ui.MWSaveDialog: Remove meta element filtering from wikitext preview 2020-03-05 16:57:51 +01:00
screenshots
.eslintrc.json Replace $.when with ve.promiseAll 2019-11-04 22:06:54 +08:00
.gitignore eslint: Enable caching 2019-02-19 18:53:11 +00:00
.gitmodules .gitmodules: Update gerrit URI syntax, deprecated ages ago, now unsupported 2019-03-19 16:49:03 +00:00
.gitreview .gitreview: swapping defaultbranch for track 2016-10-25 10:58:48 +02:00
.mailmap Update AUTHORS.txt for the last couple of years' work 2018-01-03 11:51:37 -08:00
.phpcs.xml Fix new documentation sniffs 2020-01-10 16:28:16 -08:00
.rubocop.yml build: Bump Ruby cruft to avoid security warnings for old rubocop 2017-11-28 12:09:20 -08:00
.rubocop_todo.yml build: Bump Ruby cruft to avoid security warnings for old rubocop 2017-11-28 12:09:20 -08:00
.stylelintrc.json stylelint: Enforce class name pattern 2019-01-13 15:14:53 +00:00
AUTHORS.txt Remove EasyDeflate libs, upstreamed to core 2018-07-26 18:18:52 +00:00
composer.json build: Updating mediawiki/mediawiki-codesniffer to 30.0.0 2020-02-21 04:29:45 +00:00
CONTRIBUTING.md doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
extension.json Fix:Internal and External Link annotation widget 2020-02-24 16:40:19 -08:00
Gemfile build: Use commons_upload v1.2.1 Ruby gem for language screenshots 2018-03-15 17:32:47 +01:00
Gemfile.lock build: Use commons_upload v1.2.1 Ruby gem for language screenshots 2018-03-15 17:32:47 +01:00
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-02-15 20:15:05 +00:00
package.json build: Updating npm dependencies 2020-02-15 20:15:05 +00:00
Rakefile build: npm/rake entry point for screenshots upload 2018-03-07 23:23:30 +01:00
README.md README.md: Drop DavidDM badges, we use LibraryUpgrader now 2020-02-24 13:42:58 -08:00
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

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.