Source

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

1
2
3
4
5
6
7
8
9
<div xmlns:py="http://genshi.edgewall.org/">
<textarea py:attrs="w.attrs"></textarea>
<script type="text/javascript">
    YAHOO.util.Event.onDOMReady(function() {
        var myEditor = new YAHOO.widget.Editor('$w.compound_id', $w.options);
        myEditor.render();
    });
</script>
</div>