codemirror with a url index breaks (fixed myself, can delete this)

Issue has been solved, thanks.