added codemirror for text editor
added codemirror for text editor