mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
80f5f12451
In Chrome you can paste the empty string which triggers the paste events but doesn't change the paste target. This results in the insertion of the context character on empty lines. To avoid this we can detect if the selection we put around the context character is still there and abort the paste. Bug: 58138 Change-Id: Ib73465a2376cd316dbac6ce2567ecb64bc500307 |
||
---|---|---|
.. | ||
ce | ||
dm | ||
i18n | ||
init | ||
test | ||
ui | ||
ve.BranchNode.js | ||
ve.debug.js | ||
ve.Document.js | ||
ve.EventSequencer.js | ||
ve.js | ||
ve.LeafNode.js | ||
ve.Node.js | ||
ve.Range.js | ||
ve.track.js |