i am stucked with this wysiwyg editor http://www.innovastudio.com/.
I am trying to add multiple editors on page with click on link. Take a look at my code.
var times_clicked = 1;
$("#add_more_stuff").click(function(){
times_clicked++;
var a = times_clicked;
console.log(a);
$('<textarea id="editor'+a+'" name="lesson"></textarea>').appendTo('body');
$('<script>var oEdit'+a+' = new InnovaEditor("oEdit'+a+'"); oEdit'+a+'.REPLACE("editor'+a+'");<\/script>').appendTo($("#e"));
});
This adds one editor and whole page blows!!! If this can not be done with this editor is there any other editor that supports this, dynamic adding.