title: Deleting all CK Editor instances
body: <p>online solutions didn't work.</p>
  
  <p>I'm working on an Application where I dynamically generate HTML and I need to fire CK editor on them but I get the error of 'this editor has already been attached' when length exceeds 1</p>
  
  <p>this seems what I want but I try to get this done by this solution online but that didn't work</p>
  
  <pre><code>for(name in CKEDITOR.instances)
  {
      CKEDITOR.instances[name].destroy(true);
  }
  </code></pre>
  
  <p>how can I get this done?</p>