View difference between Paste ID: aEvjyfGV and i835bUQv
SHOW: | | - or go back to the newest paste.
1
var list = document.getElementsByClassName("ace_editor");
2
for (var i = 0; i < list.length; i++) {
3
	ace.edit(list[i]).onPaste = function(txt) {this.insert(txt)}
4
}