mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +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 |
||
---|---|---|
.. | ||
ce | ||
dm | ||
init | ||
ui | ||
example.png | ||
index.php | ||
ve.BranchNode.test.js | ||
ve.Document.test.js | ||
ve.LeafNode.test.js | ||
ve.Node.test.js | ||
ve.qunit.js | ||
ve.Range.test.js | ||
ve.test.js | ||
ve.test.utils.js |