Updated codemirror version and added tag auto-close.