Codemirror replacement of textarea, part 4