How to implement draft save using ckeditor/or any editor?
<p>I am integrating  the ckeditor for the user to edit the content
but i am wondering whether i can add the draft save function for it</p>

<p>Actually, draft save is just saving a cookies for a period of time but not anything tricky?</p>

<blockquote>
  <p>So is it no matter to use ckeditor or textarea or anything?</p>
</blockquote>

<p>The work i need to do is to :</p>

<pre><code>    $i = 0;
while ($curfiletime &lt;15) { 
      $COOKIES=$_POST['editor'];
      echo "draft saved";
       }
</code></pre>

<p>But in this case i can not post it as the user hasn't submit the form, how can i implemnt it in php or js , jq?</p>

<p>Thank you.</p>
