Replaced previous protChat with CodeMirror. Still some issue with newLine
Resolved conflict