mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
b85caca493
We emit <span id="..." typeof="mw:FallbackId"></span> inside headings when necessary to provide backward compatibility with pre-HTML5 section ids. These are mostly harmless inside VE --- they become hidden alienated nodes, which are then safely ignored by Parsoid during html2wt even if they manage to migrate outside of a heading --- but it's a little safer to strip them. Change-Id: I07d0fcf54427ab02d4930cff183d3e5579a99306 |
||
---|---|---|
.jsduck | ||
bin | ||
build | ||
lib | ||
modules | ||
screenshots | ||
.eslintrc.json | ||
.gitignore | ||
.gitmodules | ||
.gitreview | ||
.mailmap | ||
.phpcs.xml | ||
.rubocop.yml | ||
.rubocop_todo.yml | ||
.stylelintrc.json | ||
ApiVisualEditor.php | ||
ApiVisualEditorEdit.php | ||
AUTHORS.txt | ||
autodisablePref.php | ||
composer.json | ||
CONTRIBUTING.md | ||
extension.json | ||
Gemfile | ||
Gemfile.lock | ||
Gruntfile.js | ||
jsduck.json | ||
LICENSE.txt | ||
package.json | ||
Rakefile | ||
README.md | ||
VisualEditor.hooks.php | ||
VisualEditor.i18n.alias.php | ||
VisualEditor.php | ||
VisualEditorDataModule.php | ||
VisualEditorDesktopArticleTargetInitModule.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.