Go to file
Moriel Schottlender 97d3f5143f Fix image resize handles update on surface change
The resizing handles under ResizableNode are created in the location of the image
but if the page is edited and the image moves relative to the document, the handles
remained where the image was previously and not where its updated location is at.

This code fixes that bug by changing the CE event listening to the model's 'transact'
instead of 'history', and clears the cached offset when a 'transact' event happens.

Change-Id: Id0e4296dd89b24839ba68a534ca77d73c23b7434
2013-11-04 18:04:53 -08:00
.docs Detangle triggers from OOUI 2013-10-29 05:50:30 +00:00
bin Add bin/ directory with updateStaticLoaders and generateDocs 2013-10-22 23:51:51 +02:00
demos More CSS fixes to the demo page. 2013-11-04 15:27:15 +00:00
maintenance Split oojs-ui from ve.ui 2013-10-28 22:40:08 -07:00
modules Fix image resize handles update on surface change 2013-11-04 18:04:53 -08:00
.csslintrc Add .csslintrc file and fix remaining warnings 2013-06-05 11:07:00 +00:00
.gitignore Implement Grunt support (grunt jshint,csslint,qunit,watch) 2013-06-05 11:10:23 +00:00
.gitreview
.jshintignore Use jsdifflib for QUnit diff 2013-10-23 20:31:17 +00:00
.jshintrc oojs: Integrate with OOJS v1.0.0 2013-06-06 17:29:55 +02:00
ApiVisualEditor.php Change X-Parsoid-Performance header value indicating cached response 2013-10-06 23:30:27 +00:00
ApiVisualEditorEdit.php Set 'notminor' if minor edit box not checked 2013-07-24 15:07:05 +01:00
AUTHORS.txt Add Moriel Schottlender to AUTHORS.txt and authors string 2013-10-23 11:24:03 -07:00
betafeatures-icon-VisualEditor-formulae.svg Rename 'formulæ' to 'formulae'. 2013-10-30 17:01:12 +00:00
betafeatures-icon-VisualEditor.svg Rename 'formulæ' to 'formulae'. 2013-10-30 17:01:12 +00:00
CONTRIBUTING.md Merge "Updates to support jsduck 5.x" 2013-09-24 15:37:56 +00:00
Gruntfile.js Split oojs-ui from ve.ui 2013-10-28 22:40:08 -07:00
LICENSE.txt
package.json Updates to README.md and CODING.md 2013-09-17 19:09:25 -04:00
README.md Updates to README.md and CODING.md 2013-09-17 19:09:25 -04:00
VisualEditor.hooks.php Use new BetaFetaures message fields 2013-10-30 16:56:58 -05:00
VisualEditor.i18n.php Localisation updates from http://translatewiki.net. 2013-11-04 20:01:49 +00:00
VisualEditor.php Merge "Button tool to switch to edit source with changes" 2013-10-31 17:49:45 +00:00
VisualEditorDataModule.php Clean up VisualEditorDataModule and document ve.version 2013-09-18 03:40:00 +02: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 CODING.md. Patch submissions are reviewed and managed with Gerrit. There is also API documentation available for the VisualEditor.