mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
456c97d912
Currently we assume getNearestContentOffset will give us something sane however it can return -1 when there is no nearby content and so an exception is thrown. In this case we have to create an empty paragraph to place the cursor in. Change-Id: Ic6c19da881e47ff6be45cdaa4b71bfcc1c654796 |
||
---|---|---|
.. | ||
imetests | ||
nodes | ||
ve.ce.BranchNode.test.js | ||
ve.ce.ContentBranchNode.test.js | ||
ve.ce.Document.test.js | ||
ve.ce.imetests.test.js | ||
ve.ce.LeafNode.test.js | ||
ve.ce.Node.test.js | ||
ve.ce.NodeFactory.test.js | ||
ve.ce.Surface.test.js | ||
ve.ce.test.js | ||
ve.ce.TestRunner.js |