title: Resize tinymce instance on window resize
body: <p>I have the following javascript code:</p>
  
  <pre><code>var editor = new tinymce.Editor(id, settings);
  </code></pre>
  
  <p>On window resize, I'd like to resize the editor. I've tried to call</p>
  
  <pre><code>editor.execCommand("mceResize");
  </code></pre>
  
  <p>but appearantly it doesn't work. I have also tried enabling and disabling it, by calling</p>
  
  <pre><code>tinymce.execCommand('removeAddControl', true, id);
  tinymce.execCommand('mceAddControl', true, id);
  </code></pre>
  
  <p>However, the "added" control isn't added with the same settings as those settings originally passed to <code>new tinymce.editor()</code>;</p>
  
  <p>Any suggestions on how to make this work are appreciated!</p>