Source

tw2.yui / tw2 / yui / templates / editor.html

Full commit
<div>
<textarea id="$w.compound_id" name="$w.compound_id" rows="20" cols="75">
</textarea>
<script type="text/javascript">
    YAHOO.util.Event.onDOMReady(function() {
        var myEditor = new YAHOO.widget.Editor('$w.compound_id', $w.config);
        myEditor.render();
    });
</script>
</div>