add codemirror support
add codemirror support