Im loading dynamic content, after finished loading contents =>
All Textareas within the site are replaced properly. I got a "save button". When i hit save -
all cked's should be destroyed. Im doing it like this:
After that i reload the content again --- replaceAll('cked') is causing an error "instance already exists"
Aside from using mootools nothing is working properly:
delete, destroy ... nothin really working. i need a solution for that issue due "page" reloading is not an options. please help !!
thanx
ck=CKEDITOR.replaceAll('cked');
All Textareas within the site are replaced properly. I got a "save button". When i hit save -
all cked's should be destroyed. Im doing it like this:
$each(CKEDITOR.instances,function(ob,ind){ ob.destroy(); });
After that i reload the content again --- replaceAll('cked') is causing an error "instance already exists"
Aside from using mootools nothing is working properly:
CKEDITOR.instances['text'].remove()
delete, destroy ... nothin really working. i need a solution for that issue due "page" reloading is not an options. please help !!
thanx
Re: Removing Destroying CKEditors -
im willing 2 pay for a solution as well !!
Re: Removing Destroying CKEditors -
Re: Removing Destroying CKEditors -
ill get an error: i.contentWindow=null
after loading content again and trying to create an editor instance again
ill get "instance" ROW['text'] already exists
Re: Removing Destroying CKEditors -
Re: Removing Destroying CKEditors -
yea i tried only REMOVE
then only DESTROY
then both ...
nothing seems 2 work its frustrating
=> if anyone like 2 help i can provide payment and ftp
just send me message
Re: Removing Destroying CKEditors -
If you have problems then create a simple test case and file a bug report
Re: Removing Destroying CKEditors -
i would appreciate someones help

ill provide ftp and payment :-=)
i really need tat sh...t
Re: Removing Destroying CKEditors -
The full testcase i just assembled:
=> all that beeing loaded is html code with a textarea with class cked
=> sample can be found online at my testdomain -> www.adwintiser.com/testcase.html
Re: Removing Destroying CKEditors -
pls someone help me for that
Re: Removing Destroying CKEditors -
Thanks for the test page, I've debugged it (you forgot to mention that it only fails in IE
) and the problem isn't CKEditor or instances that aren't destroyed.
What I've found is that the second time your "applyEditor" function is called twice, so it replaces the textarea and then it tries to do it again, failing.