The App: I have a textarea element in my page. It is transformed using CodeMirror, because I need to indent and highlight html code withing it. Pic is in the li
You Can Use This ...
var editor_js = CodeMirror.fromTextArea(document.getElementById("js"), { mode: 'text/javascript', theme: 'icecoder', styleActiveLine: true, lineNumbers: true, lineWrapping: true, });
And Get Data With editor_js.getValue()
editor_js.getValue()