Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View all_textareas.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
(function() {
var Dom = YAHOO.util.Dom,
Event = YAHOO.util.Event;
 
Event.onDOMReady(function() {
var textareas = document.body.getElementsByTagName('textarea'),
len = textareas.length,
editors = [];
for (var i = 0; i < len; i++) {
editors[i] = new YAHOO.widget.SimpleEditor(textareas[i], {
height: '300px',
width: '700px',
});
editors[i].render();
}
});
 
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.