I\'m looking to implement a web app that features \"coding-competition\"-styled interface with 2 different code editors in a single screen. One will be read only and the oth
What I did was instead of using the id editor I set it as a class so code Then I just iterated every editor.
var editor; $('.editor').each(function( index ) { editor = ace.edit(this); editor.getSession().setMode('ace/mode/csharp'); });