Fix codemirror issue pt2