I have a form in which I have CKEditor replacing my s (multiple). I want to remove all CKEditor instances from the page before submitting t
This will destroy all CKEDITOR instances on a page:
for(name in CKEDITOR.instances)
{
CKEDITOR.instances[name].destroy(true);
}
Have you tried just...
delete CKEDITOR;
I had a similar situation and this worked for me. Just make sure you re-create it the next time you need to use it. Otherwise try keeping an array of id's of all the instances you create and just loop through that array and destroy them all.
you can make use of .remove() of jquery, before submitting.