mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-27 15:50:29 +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 |
||
---|---|---|
.. | ||
parser | ||
ve | ||
ve2 |