Go to file
Ed Sanders 60cf31bcb6 Allow fixUpInsertion to move offsets when inserting at start/end
fixUpInsertion now returns an object with both data and offset
which allows offset changes.

Within fixUpInsertion we lazy-generate first/lastChildStack which
is a list of parent nodes for which the current node is the first/last
child. Whenever we try to close off a node we check these stacks and
if they are populated we instead use a recursive call to start
fixUpInsertion again but with the offset shifted by 1.

Bug: 46799

Change-Id: Ic51dd03725c11f1f7e279929534ee3afea14d662
2013-04-26 22:52:27 +00:00
.docs Add data model support for MediaWiki references 2013-04-23 10:17:42 +01:00
demos Add TableCaptionNode 2013-04-26 14:09:54 -07:00
maintenance Fix 404 on iframe styles by standardizing get and set modules methods. 2013-04-10 10:18:39 -07:00
modules Allow fixUpInsertion to move offsets when inserting at start/end 2013-04-26 22:52:27 +00:00
.gitignore Ignore Eclipse files 2013-01-11 10:58:47 -08:00
.gitreview
.jshintignore UnicodeJS library to implement Unicode standards 2013-03-27 17:44:22 +00:00
.jshintrc JSHint: Re-order jshintrc options to split common from project settings 2013-04-13 08:53:11 +02:00
ApiVisualEditor.php Actually send oldid on POST like we promised Parsoid we would 2013-04-19 22:24:31 +00:00
AUTHORS.txt Add Ed 2013-02-12 16:06:21 -08:00
CODING.md Document and clean up events in all the things 2013-03-20 09:58:27 -07:00
LICENSE.txt Bump copyright year range to 2013 in the licence file 2013-03-18 09:55:57 -07:00
README.txt
VisualEditor.hooks.php Do not have ignoreHidden set to true 2013-04-25 15:12:47 -07:00
VisualEditor.i18n.php Make the feedback link language-variable for release 2013-04-25 09:02:28 -07:00
VisualEditor.php Add TableCaptionNode 2013-04-26 14:09:54 -07:00
VisualEditorMessagesModule.php Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00

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 wiki:

	* http://www.mediawiki.org/wiki/VisualEditor
	* http://www.mediawiki.org/wiki/Parsoid