mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +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 |
||
---|---|---|
.. | ||
annotations | ||
nodes | ||
ve.dm.Annotation.js | ||
ve.dm.AnnotationFactory.js | ||
ve.dm.BranchNode.js | ||
ve.dm.Converter.js | ||
ve.dm.Document.js | ||
ve.dm.DocumentSlice.js | ||
ve.dm.DocumentSynchronizer.js | ||
ve.dm.js | ||
ve.dm.LeafNode.js | ||
ve.dm.ModelRegistry.js | ||
ve.dm.Node.js | ||
ve.dm.NodeFactory.js | ||
ve.dm.Surface.js | ||
ve.dm.SurfaceFragment.js | ||
ve.dm.Transaction.js | ||
ve.dm.TransactionProcessor.js |