title: Resizing window with NicEditor
body: <p>I'm using NicEditor (<a href="http://nicedit.com" rel="nofollow">http://nicedit.com</a>). </p>
  
  <p>First, I set the width of the textarea 100%, but when I resize the window, the editor stays the same and won't resize to the new 100% width of the window.</p>
  
  <pre><code>&lt;textarea style="width: 100%;"&gt; something .. &lt;/textarea&gt;
  
  &lt;script&gt;
      //&lt;![CDATA[
  bkLib.onDomLoaded(function() { nicEditors.allTextAreas() });
  //]]&gt;
  
  &lt;/script&gt; 
  </code></pre>
  
  <p>How can I fix this?</p>
  
  <p><strong>EDIT:</strong>
  I found a solution that works:</p>
  
  <pre><code>  $(function () {
        editor = new nicEditor({fullPanel : false}).panelInstance('text');
    })
  
    $(window).resize(function() {
       editor.removeInstance('text'); 
       editor = new nicEditor({fullPanel : false}).panelInstance('text');
    });
  </code></pre>