I will pay 100 Euro to anyone who can fix the issue.
http://www.adwintiser.com/testcase.html
http://www.adwintiser.com/testsample.html
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="/scripts/mootools_1_3.js" type="text/javascript"></script>
<script src="/scripts/mootools_more_1_3.js" type="text/javascript"></script>
<script src="/assets/scripts/ckeditor/ckeditor.js" type="text/javascript"></script>
</head>
<body>
<script language="javascript">
window.addEvent('domready', function() {
$('loader').addEvent('click',function(){
loadEdit();
});
$('loadagain').addEvent('click',function(){
CKEDITOR.instances['ROW[text]'].destroy();
CKEDITOR.remove('ROW[text]');
//loadEdit();
});
}
);
function loadEdit(){
$('content').set('load',{onSuccess:function(){applyEditor();}});
$('content').load("testsample.html");
}
function applyEditor(){
CKEDITOR.replaceAll('cked');
}
</script>
<div id="content" style="background:white;border:2px solid gray;">content will be loaded here</div>
<a id="loader" style="border:2px solid red;">load content</a>
<a id="loadagain" style="border:2px solid green;">remove ckeditor</a>
</body>
</html>

Re: 100€ - for solving Issue of removing/destroying instanc
if(CKEDITOR.instances['ROW[text]') { // destroy only if already have
CKEDITOR.instances['ROW[text]'].destroy();
}
loadEdit();
});
function loadEdit(){
$('content').set('load',{onSuccess:function(){
if(!CKEDITOR.instances['ROW[text]') {// create only if already not created
applyEditor();
}
}});
$('content').load("testsample.html");
}
Re: 100€ - for solving Issue of removing/destroying instanc
Re: 100€ - for solving Issue of removing/destroying instanc
Re: 100€ - for solving Issue of removing/destroying instanc
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script src="/jquery-1.4.2.min.js" type="text/javascript"></script> <script src="/ckeditor/ckeditor.js" type="text/javascript"></script> <script src="/ckeditor/adapters/jquery.js" type="text/javascript"></script> </head> <body> <script language="javascript"> $(document).ready(function() { //will empty the content div and reload the whole thing a again $("#loader").click(function(){ $("#content").empty(); $("#content").load("editload.htm",function(){ removeEdit(); loadEdit(); }); }); //will reset just the textareas $("#loadagain").click(function(){ removeEdit(); loadEdit(); }); function removeEdit(){ $(".cked").each(function(index){ var instance=CKEDITOR.instances["text"+index]; if(instance) { CKEDITOR.instances["text"+index].destroy(true); } }); } function loadEdit(){ $(".cked").each(function(index){ CKEDITOR.replace($("#text"+index).attr("id"),{height:200}); CKEDITOR.instances["text"+index].setData("Default content"); }); } }); </script> <div id="content" style="background:white;border:2px solid gray;">content will be loaded here</div> <a id="loader" style="border:2px solid red;cursor:pointer">load content</a> <a id="loadagain" style="border:2px solid green;">remove ckeditor</a> </body> </html>