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 |
||
---|---|---|
.. | ||
nodes | ||
ve.dm.BranchNode.test.js | ||
ve.dm.Converter.test.js | ||
ve.dm.Document.test.js | ||
ve.dm.DocumentSynchronizer.test.js | ||
ve.dm.example.js | ||
ve.dm.LeafNode.test.js | ||
ve.dm.ModelRegistry.test.js | ||
ve.dm.Node.test.js | ||
ve.dm.NodeFactory.test.js | ||
ve.dm.Surface.test.js | ||
ve.dm.SurfaceFragment.test.js | ||
ve.dm.Transaction.test.js | ||
ve.dm.TransactionProcessor.test.js |