Steps to reproduce:
1.Open an editor which has a text with reference and the reflist
text with reference
2.Try to paste it into a different page
Uncaught TypeError: Cannot read property 'length' of undefined appears and nothing gets pasted.
However the "Save Page" button is active and clicking on that gives the error:
Uncaught TypeError: Cannot call method 'getRange' of undefined