mediawiki-extensions-Visual.../modules/ve2
Catrope 2f18605a1a Fix buggy replace behavior when inserting content that contains nodes
Copy-pasting things like "text<IMAGE>moretext" failed spectacularly,
this commit fixes that.

* Check for content rather than structure in the inserted/removed data
* In the content case
** Run selectNodes() over the removal range, rather than just the cursor
*** i.e. no longer assume that content replacements only affect one node
** If there is structure involved, rebuild all affected nodes

Change-Id: I80e40b5b7c514a3fb105d57e4a17770d0fefaaea
2012-05-31 07:27:36 -07:00
..
ce Introduce two different types of slugs - inline and block - this is in order to fix bug in IE with placing cursor inside slug by clicking next to it 2012-05-30 16:45:06 -07:00
dm Fix buggy replace behavior when inserting content that contains nodes 2012-05-31 07:27:36 -07:00
ui Restrict edit access to VisualEditor namespace to sysops 2012-05-30 17:12:25 -07:00
ve.BranchNode.js Merge branch 'dmrewrite' of ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor into dmrewrite 2012-05-18 15:20:01 -07:00
ve.Document.js Fix bug in selectNodes: input (0,0) returned [] 2012-05-14 21:41:08 -07:00
ve.EventEmitter.js Removed trailing whitespace in multi-line comment blocks 2012-05-14 15:05:09 -07:00
ve.js Fixed case on mapping to $.toJSON 2012-05-21 12:21:07 -07:00
ve.LeafNode.js Making showCursor work again! 2012-05-18 15:19:31 -07:00
ve.Node.js Removed trailing whitespace in multi-line comment blocks 2012-05-14 15:05:09 -07:00
ve.NodeFactory.js Removed trailing whitespace in multi-line comment blocks 2012-05-14 15:05:09 -07:00
ve.Position.js Removed trailing whitespace in multi-line comment blocks 2012-05-14 15:05:09 -07:00
ve.Range.js Whitespace fixes and cleanup 2012-05-16 20:26:05 -07:00
ve.Surface.js Fixed scroll jumping when pasting 2012-05-30 13:06:19 -07:00