Last modified: 2014-11-13 13:17:13 UTC
Reproduce: 1. go to https://fi.wikipedia.org/wiki/User:Stryn/VE?veaction=edit 2. highlight all texts from the end of "This is just a test.[1]" to end of "Visuaalinen muokkain.[2]" and press backspace button or delete or whatever and nothing happens - VE just gets stuck. 3. you can't save the page nor switch to wikitext editor even if you have made changes to the page. If you highlight text from "This is just a test.[1]" to "This is not." it's working as it should. So probably the problem is with the references.
Confirmed in test2 and on https://fi.wikipedia.org/wiki/User:Stryn/VE?veaction=edit. On the page https://fi.wikipedia.org... - there are many Uncaught Error: ve.dm.Document.getBranchNodeFromOffset(): offset 39 is out of bounds etc. In test2: type four lines of text on four separate lines. - Add reference to the end of the first line - add another reference to the end of the second line - leave the third line as it is - re-use the first reference and add it to the end of the fourth line Start highlighting the text and try to delete it with 'Delete' button. FF displays: Error: Unbalanced set of replace operations found load.php:316 TypeError: currentNode.children[(nao.offset - 1)] is undefined load.php:479 Error: Unbalanced input passed to document. After several attempts of highlighting and deleting - the page becomes unresponsive - I can place cursor but cannot move it with arrow or Enter buttons; cannot Save, cannot switch to Read mode(TypeError: data[i] is undefined).