Last modified: 2014-08-29 18:36:06 UTC
1. Open a page with some content (a few paragraphs) 2. Select all and delete 3. Insert a math node 4. Press undo You'll get an exception as selectionBefore in the undo stack is still the range of the whole original document, but your document should be empty.
Change 157149 had a related patch set uploaded by Esanders: Track selectionBefore in staging transactions https://gerrit.wikimedia.org/r/157149
Change 157149 merged by jenkins-bot: Track selectionBefore in staging transactions https://gerrit.wikimedia.org/r/157149