Go to file
Ed Sanders 6dd7576941 AceEditorWidget: Add method to clear undo stack
After the widget is initialised the caller will probably
want to clear the undo stack, so that the first state
is the initial value provided.

Bonus: Add documentation for the widget.

Change-Id: Ia331acc4177e32784061cae55c450eb0f83fd744
2015-11-03 13:41:09 -08:00
.jsduck Update VE core submodule to master (062cb26) 2015-11-03 10:36:53 +00:00
bin Merge "Add a clean-up script for use as a pre-commit hook" 2015-09-14 00:33:31 +00:00
build/tasks build: Enable jscs rule 'requireVarDeclFirst' and make pass 2015-08-19 11:05:01 -07:00
lib Update VE core submodule to master (062cb26) 2015-11-03 10:36:53 +00:00
modules AceEditorWidget: Add method to clear undo stack 2015-11-03 13:41:09 -08:00
.csslintrc
.gitignore Add a couple of patterns to .gitignore for emacs 2015-05-13 19:11:05 -04:00
.gitmodules
.gitreview
.jscsrc build: Enable jscs jsDoc rules 'require*Types' and make pass 2015-08-19 11:38:35 -07:00
.jshintignore
.jshintrc jshint: Kill file-level globals and add "moment" to the list 2015-05-06 19:01:27 +00:00
.mailmap AUTHORS: Update for October 2015 2015-10-29 15:02:04 -04:00
.rubocop.yml
.rubocop_todo.yml [BrowserTest] Remove outdated offenses from .rubocop_todo.yml 2015-02-20 13:39:18 +02:00
ApiVisualEditor.php Allow switching from wikitext to VE 2015-11-02 20:55:19 +00:00
ApiVisualEditorEdit.php Allow switching from wikitext to VE 2015-11-02 20:55:19 +00:00
AUTHORS.txt AUTHORS: Update for October 2015 2015-10-29 15:02:04 -04:00
autodisablePref.php More autodisable script fixes 2015-09-30 22:08:37 +01:00
betafeatures-icon-VisualEditor-ltr.svg
betafeatures-icon-VisualEditor-rtl.svg
composer.json build: Upgrade mediawiki-codesniffer from v0.4.0 to v0.5.0 2015-10-23 08:41:19 -07:00
CONTRIBUTING.md Add a clean-up script for use as a pre-commit hook 2015-07-03 01:57:03 +00:00
extension.json CommandHelpDialog: Move insertions into a separate group 2015-11-03 17:03:56 +00:00
Gemfile [BrowserTest] Screenshot gem version updated to 0.0.7 2015-09-25 21:51:44 +00:00
Gemfile.lock [BrowserTest] Screenshot gem version updated to 0.0.7 2015-09-25 21:51:44 +00:00
Gruntfile.js Make jsonlint ignore more node_modules 2015-10-29 12:26:47 -05:00
jsduck.json build: Move pre/post 'doc' task into package.json 2015-04-06 17:18:29 +01:00
LICENSE.txt
package.json build: Updating development dependencies 2015-10-11 12:21:37 -04:00
phpcs.xml build: Alter settings to force utf-8 and allow .php5/.inc extensions 2015-09-28 23:11:06 +00:00
README.md
VisualEditor.hooks.php Dialog for switching between wikitext and visual editing 2015-11-03 01:36:29 +00:00
VisualEditor.php Re-do: Empty out PHP entry point 2015-07-02 01:50:57 +00:00
VisualEditorDataModule.php VisualEditorDataModule: remove $msgKeys 2015-09-03 21:29:51 +00:00
VisualEditorDesktopArticleTargetInitModule.php [BREAKING CHANGE] Rename (View|Mobile)PageTarget to (Desktop|Mobile)ArticleTarget 2015-07-29 18:26:36 +01: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.