- Go to https://www.mediawiki.org/wiki/VisualEditor:Testy and click edit
- Select all using Ctrl-A (or Cmd-A) and press backspace
- Press any content key (e.g. "a")
What should happen:
: You get a document with an "a" in its own paragraph.
What does happen:
: You get a document with an "a" in its own paragraph, and two console errors:
TypeError: this.data[offset] is undefined
...ation)===false){return null;}while(start>0){start--;if(this.offsetContainsAnnota...
load.p...4105Z&* (line 89)
TypeError: this.data[offset] is undefined
...ation)===false){return null;}while(start>0){start--;if(this.offsetContainsAnnota...
load.p...4105Z&* (line 89)
Thereafter, pressing return in the new context gives:
TypeError: node is null
...ve.Node.call(this,type);this.model=model;this.$=$element||$('<div>');this.parent...
Etc.
Version: unspecified
Severity: critical