title: CKEditor setData not clearing or changing text in rte
body: <p>I have an instance of CKEditor inside a Backbone View with a plugin that posts whatever text is in the editor to my site on click. I want to clear the CKEditor on click as well but using setData doesn't work. It flashes as though <em>something</em> is happening, but then resets to the same data that was already there.</p>
  
  <p>It's called inside the plugin like this:</p>
  
  <p><strong>note</strong>: <code>THIS</code> is a variable referencing the Backbone View</p>
  
  <pre class="lang-js prettyprint-override"><code>CKEDITOR.plugins.add( 'post', {
      init: function( editor ) {
          editor.addCommand('post', {
              exec: function(editor) {
                  THIS.model.postMessageAttempt(editor.getData());
                  THIS.options.data = "";
                  editor.setData("");
              }
          });
          editor.ui.addButton('Post', {
              label: THIS.i18n.postText(),
              command: 'post'
          });
  
      }
  } );
  </code></pre>
  
  <p>I've also tried with <code>setData("some text")</code> and <code>THIS.editor.setData("")</code> (I have a reference to the editor saved in the View) but both had the same result. Any ideas about what is going wrong?</p>
  
  <p><strong>EDIT</strong><br>
  I've also tried using CKEditor's integration with jQuery with this call <code>THIS.$el.find('textarea' + this.id).val("");</code> and it doesn't flash anymore, but it still doesn't clear out the editor.</p>