Go to file
Timo Tijhof ad2fdfb66b ve.init.mw.ViewPageTarget: Actually animate the toolbar during setup
There was a slideDown() call, but this didn't do anything since
toolbars are visible and in the DOM by default.

As a temporary hack, hide it synchronously after creation and
then do the slideDown still.

This could ever so briefly cause a flash, though that didn't
happen in my testing.

This makes the experience smoother when we initialise the surface.
In particular the moment where we swap #bodyContent for our Surface
(which should look visually almost identical), before this change
it was still a bit of a flash since the Surface version has a
toolbar on top, and thus instead of swapping smoothly, we hide
content and show a similar piece of content that has an incompatible
offset from the top.

Bug: 64751
Change-Id: Id94974ba71fd887ce494d7b2b16ec62d43b18575
2014-05-06 02:43:37 +00:00
.docs Add LanguageResultWidget files 2014-05-02 14:04:14 +01:00
bin generateDocs.sh: Simplify 2014-05-03 21:16:24 +02:00
build/tasks Use submodule for VisualEditor core 2013-12-20 09:18:41 +00:00
lib Update VE core submodule to master (cc6e87c) 2014-05-05 14:12:31 -07:00
modules ve.init.mw.ViewPageTarget: Actually animate the toolbar during setup 2014-05-06 02:43:37 +00:00
.csslintrc
.gitignore Implement Grunt support (grunt jshint,csslint,qunit,watch) 2013-06-05 11:10:23 +00:00
.gitmodules Use submodule for VisualEditor core 2013-12-20 09:18:41 +00:00
.gitreview
.jscsrc Bump jscs to 0.4.1 2014-04-01 14:39:03 -07:00
.jshintignore Move libraries to the lib/ directory 2013-12-19 23:02:52 +01:00
.jshintrc oojs: Integrate with OOJS v1.0.0 2013-06-06 17:29:55 +02:00
ApiVisualEditor.php Add class name to protected pages, to allow for specific CSS styling of edit area 2014-04-30 13:59:30 -07:00
ApiVisualEditorEdit.php Remove useless isset 2014-04-17 08:17:16 +00:00
AUTHORS.txt Add Moriel Schottlender to AUTHORS.txt and authors string 2013-10-23 11:24:03 -07:00
betafeatures-icon-VisualEditor-language-ltr.svg Enable the language tool as a Beta Feature 2014-04-23 17:46:27 -07:00
betafeatures-icon-VisualEditor-language-rtl.svg Enable the language tool as a Beta Feature 2014-04-23 17:46:27 -07:00
betafeatures-icon-VisualEditor-ltr.svg Adapt beta features icons for RTL 2013-11-08 18:33:53 +02:00
betafeatures-icon-VisualEditor-rtl.svg Adapt beta features icons for RTL 2013-11-08 18:33:53 +02:00
CONTRIBUTING.md Fix dead links in README.md and CONTRIBUTING.md 2014-03-10 18:26:30 +01:00
Gruntfile.js Use new banana checker as a linter to avoid lacking qqq messages 2014-04-04 15:22:57 -07:00
LICENSE.txt Fix more copyright headers not updated to 2014 2014-01-13 15:08:24 +00:00
package.json Use new banana checker as a linter to avoid lacking qqq messages 2014-04-04 15:22:57 -07:00
README.md Fix dead links in README.md and CONTRIBUTING.md 2014-03-10 18:26:30 +01:00
VisualEditor.hooks.php Merge "Generate PHP VE edit section with correct parameter, vesection" 2014-05-05 17:58:56 +00:00
VisualEditor.i18n.php Adding a comment explaining where the i18n messages are 2014-03-12 17:41:42 -07:00
VisualEditor.php Use new mediawiki.language.names module 2014-05-02 14:04:14 +01:00
VisualEditorDataModule.php Ultra-mega-hyper-citation editing on crack 2014-03-24 19:24:38 +00: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.