mediawiki-extensions-Visual.../modules/ve2/dm
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
..
nodes Restructured static node rules 2012-05-21 17:39:12 -07:00
ve.dm.BranchNode.js Whitespace fixes and cleanup 2012-05-16 20:26:05 -07:00
ve.dm.Document.js Add ve.dm.Document.isContentData() 2012-05-31 06:19:34 -07:00
ve.dm.DocumentSynchronizer.js Whitespace fixes and cleanup 2012-05-16 20:26:05 -07:00
ve.dm.HTMLConverter.js Removed aliases for node type constants, on the client we have them already in Node 2012-05-30 14:38:18 -07:00
ve.dm.js Removed trailing whitespace in multi-line comment blocks 2012-05-14 15:05:09 -07:00
ve.dm.LeafNode.js Whitespace fixes and cleanup 2012-05-16 20:26:05 -07:00
ve.dm.Node.js Replaced static array with real logic inside of ve.ce.BranchNode.canNodeHaveSlug 2012-05-24 13:12:45 -07:00
ve.dm.NodeFactory.js Replaced static array with real logic inside of ve.ce.BranchNode.canNodeHaveSlug 2012-05-24 13:12:45 -07:00
ve.dm.Surface.js Fixes for Roan's crazy half-baked commit 2012-05-04 16:13:54 -07:00
ve.dm.Transaction.js Implement newFromInsertion() 2012-05-23 12:45:28 -07:00
ve.dm.TransactionProcessor.js Fix buggy replace behavior when inserting content that contains nodes 2012-05-31 07:27:36 -07:00