Add support for raw HTML editor.

STUD-1562
adjust codemirror window on raw HTML editor