mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 00:00:49 +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 |
||
---|---|---|
.. | ||
ce | ||
dm | ||
image.png | ||
index.html | ||
ve.BranchNode.test.js | ||
ve.Document.test.js | ||
ve.example.js | ||
ve.LeafNode.test.js | ||
ve.Node.test.js | ||
ve.NodeFactory.test.js |