![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmpWQr4SpBX7xF_7XcXdHv77f_alC0x8WhOVQfbG86KGzQQbGntaE2MpOE18oZiQGTrXyT8BZlCj0S8Gloti1j2NrWu6x0Hv48LNJpB3bl6MKg2Czmt-qdfBEXS6985PqvsukhZZAguziB/s400/Screen+shot+2012-04-17+at+10.05.19.png)
Code Mirror was really easy to integrate and you can see it in action below or at: jsbin.com , sourcelair.com or wescheme.org
Yes, I can edit HTML directly from the browser :)
This is a great 'admin' feature and has helped me to solve a lot of problems in real-time on remote deployments. It also has a number of security features/requirements, which I want to cover on later posts.
Btw, I would like to package this module as a separate project, since this HTML/Ashx code editor is already packaged as a stand alone unit inside TM (if anybody wants to do it ping me directly, this would be a great mini-project to do)
At TM, the code is the WebEditor folder and the real action happens inside the WebEditorService.ashx file.
Here it is in action: