mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 16:44:51 +00:00
2f18605a1a
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 |
||
---|---|---|
.. | ||
nodes | ||
ve.dm.BranchNode.js | ||
ve.dm.Document.js | ||
ve.dm.DocumentSynchronizer.js | ||
ve.dm.HTMLConverter.js | ||
ve.dm.js | ||
ve.dm.LeafNode.js | ||
ve.dm.Node.js | ||
ve.dm.NodeFactory.js | ||
ve.dm.Surface.js | ||
ve.dm.Transaction.js | ||
ve.dm.TransactionProcessor.js |