mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
1a4c60ed17
Previously, we would translate to the right of an insertion, but for wrapping transactions that means we end up with something like <ul><li>|<p>...</p></li></ul>|, which doesn't make any sense. This change changes this to <ul><li>|<p>...</p>|</li></ul>. * Add parameter to translateOffset() that toggles the behavior for the offset before an insertion * In translateRange(), translate start and end differently ** In some cases this can map them across each other, fix that Change-Id: Ia2197b08d9f6763be3f2db5a59546ddc3f74a281 |
||
---|---|---|
.. | ||
actions | ||
ce | ||
dm | ||
init | ||
image.png | ||
index.php | ||
ve.BranchNode.test.js | ||
ve.Document.test.js | ||
ve.example.js | ||
ve.Factory.test.js | ||
ve.LeafNode.test.js | ||
ve.Node.test.js | ||
ve.qunit.js | ||
ve.Range.test.js | ||
ve.test.js | ||
ve.Trigger.test.js |