Fork me on GitHub

Ace Editor

<div id="myWrapper">
  <div id="myEditor"></div>
</div>
YUI().use(
  'aui-ace-editor',
  function(Y) {
    new Y.AceEditor(
      {
        boundingBox: '#myEditor',
        height: '200',
        value: 'Write something here...',
        width: '700'
      }
    ).render();
  }
);