title: how to reinitialize ckeditor in jquery cloned textarea?
body: <p>i have a code like this.</p>
  <pre><code>&lt;tr&gt;
      &lt;td&gt;&lt;/td&gt;
      &lt;td&gt;
          &lt;select name=&quot;checklist_title_id[]&quot; class=&quot;checklist_title_id select2&quot; required&gt;
          &lt;/select&gt;
      &lt;/td&gt;
      &lt;td&gt;&lt;input type=&quot;text&quot; name=&quot;obtained_marks[]&quot; class=&quot;pure-u-1&quot; &gt;&lt;/td&gt;
      &lt;td&gt;&lt;textarea name=&quot;recommendations[]&quot; class=&quot;pure-u-1 editor&quot; rows=&quot;5&quot;&gt;&lt;/textarea&gt; &lt;/td&gt;
      &lt;td&gt;
          &lt;input type=&quot;button&quot; class=&quot;plus_button&quot; value=&quot;Add&quot; /&gt;
          &lt;input type=&quot;button&quot; class=&quot;minus_button&quot; value=&quot;Remove&quot; /&gt;
      &lt;/td&gt;
  &lt;/tr&gt;
  
  $(function(){
      $('.tbl_checklist').on('click','.plus_button',function() {
          var $tr = $(this).closest('tr');
          $tr.find('.select2').select2('destroy');
          $tr.find('.editor').ckeditor('destroy'); 
          var $clone = $tr.clone();
          $clone.find('input:text').val('');
          $clone.find('input[type=text], textarea').val('');        
          $clone.find('.select2').val('');
          $tr.after($clone);
          $('.tbl_checklist .select2').select2();
          $('.tbl_checklist .editor').ckeditor();
      });
  
      $( '.editor' ).ckeditor();
  });
  </code></pre>
  <p>When i clone the table row by clicking plus button the row is cloned but my textarea(class name editor) is cloned but i am unable to enter cursor in the newly created textarea. i think my .editor is not properly destroyed before reinitializing.
  please help</p>