CodeMirror.next 0.18.0

I think you’re running into the same issue as this thread.