Go to file
Bartosz Dziewoński 5667832c1b Attach content to teleport target instead of <body>, remove Vector hacks
In MediaWiki, OO.ui.getTeleportTarget() is overridden to return
a different element (itself attached to body), which is supposed
to be styled appropriately by skins (e.g. z-index above any
floating header, font-size same as body text, etc.).

As a result, we no longer need to do weird things with the
'vector-body' class to achieve correct font size on Vector,
and we can remove some font-size overrides for Vector and MonoBook.

Bug: T348288
Bug: T339058
Change-Id: I6329b3023573b3dcfc8f471c4693be9bb1e9e430
2023-11-06 14:29:12 +00:00
.jsduck Update VE core submodule to master (d90ae3a9c) 2023-08-10 13:59:51 -04:00
.phan build: Restore .phan/config.php 2023-10-06 16:51:51 +02:00
bin
build screenshots: Fix some bounding box reference elements 2023-07-03 14:19:55 +01:00
i18n Localisation updates from https://translatewiki.net. 2023-11-06 08:58:24 +01:00
includes Merge "ApiVisualEditor: Remove unnecessary checks" 2023-11-03 17:37:42 +00:00
lib Update VE core submodule to master (af9ff31db) 2023-11-02 23:11:44 +01:00
modules Attach content to teleport target instead of <body>, remove Vector hacks 2023-11-06 14:29:12 +00:00
screenshots
tests Stop injecting ServiceOptions in VisualEditorParsoidClientFactory 2023-08-30 17:05:17 +02:00
.eslintignore Implement add a reference edit check 2023-08-16 17:19:28 +01:00
.eslintrc.json Add basic end-to-end tests for action=visualeditor 2022-09-28 18:28:05 +02:00
.gitignore .gitignore: Add .vscode directory to .gitignore 2023-05-16 12:50:51 +01:00
.gitmodules
.gitreview
.mailmap Update Legoktm's mailmap entry 2021-04-11 19:18:33 -07:00
.phpcs.xml ApiVisualEditor: Remove $wgTitle hack, set page for {{PAGENAME}} when needed 2022-02-28 23:43:54 +00:00
.stylelintrc.json build: Update stylelint-config-wikimedia 2023-08-21 16:06:40 +01:00
AUTHORS.txt Add VisualEditor's libraries to Special:Version 2023-05-10 08:46:51 +01:00
composer.json Exclude node_modules directories from phpcs 2023-10-12 16:52:22 -05:00
CONTRIBUTING.md
extension.json Attach content to teleport target instead of <body>, remove Vector hacks 2023-11-06 14:29:12 +00:00
Gruntfile.js Update banana check to use config.MessagesDirs 2023-09-21 09:18:30 -05:00
jsduck.json Allow using native URL (or polyfill) 2023-01-03 22:18:00 +01:00
LICENSE.txt
package-lock.json build: Upgrade grunt-banana-checker from 0.11.0 to 0.11.1 2023-09-26 14:39:59 -04:00
package.json build: Upgrade grunt-banana-checker from 0.11.0 to 0.11.1 2023-09-26 14:39:59 -04:00
Rakefile
README.md Add newline to README.md to fx render issue 2021-09-03 14:54:50 +02:00
VisualEditor.i18n.alias.php

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.

Terminology