minimal ace js editor

HTML
<div class="e" id="editor"></div> <script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script>
CSS
.e { position:absolute; top:0; right:0; bottom:0; left:0; }
JAVASCRIPT
var e=ace.edit("editor"); e.setTheme("ace/theme/monokai"); e.getSession().setMode("ace/mode/javascript");
Expand for more options Login