Removed unnecessary part since a CodeMirror issue was fixed

These lines can be removed since marijnh/CodeMirror#1155 was fixed. I checked it, everything worked, but please check twice.
The tests ran without problems.