Go to file
Ed Sanders d4eef1b879 Fix range translation for surface fragments
Remove all manual changes to SF ranges as these are not
undoable. Instead change translate range to default to
outer expand and build functionality around that behaviour
never changing.

As translate range is always outer I don't think we need to
check for start and end crossing over?

Added more undo tests to assert these selections are maintained
properly, and added the test case to 'update' for when and undo
point is overwritten.

Insert content now results in a selection over the inserted
content. Most usages were expecting this anyway and were
followed up with an adjustRange(-length,0) which is no longer
necessary.

Noticed that the link inspector case was never being triggered
as word boundary was always expanding to at least one char (mainly
for Hanzi selection). This doesn't make much sense as single
spaces get auto selected so removed this functionality.

Split collapseRange out into collapseRangeToStart and
collapseRangeToEnd as this may be required to get the old
behaviour (range moves to end after insert).

Change-Id: I3dc0b4d00d37bad1ca3076a69b41c5f0b3fa0570
2013-04-30 17:08:15 +01:00
.docs Add data model support for MediaWiki references 2013-04-23 10:17:42 +01:00
demos Initial support for MWBlockImageNode - thumb images with captions :-) 2013-04-25 21:49:32 +00:00
maintenance Fix 404 on iframe styles by standardizing get and set modules methods. 2013-04-10 10:18:39 -07:00
modules Fix range translation for surface fragments 2013-04-30 17:08:15 +01:00
.gitignore Ignore Eclipse files 2013-01-11 10:58:47 -08:00
.gitreview Set defaultrebase=0 2012-06-20 16:27:40 -07:00
.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 Remove the parser from the VE repo 2012-07-30 13:19:09 -07:00
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 Merge "Move feedback link to the right list of messages" 2013-04-26 00:45:28 +00: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