title: How to delete the selected text from CKEditor?
body: <p>I am developing an application where I am using CKEditor. I have provided a button called clear. 
  Whenever user selects some part of text and clicks on clear button only the selected text should get deleted.</p>
  
  <p>I used the below code in my application but whenever user clicks on clear button not only selected text but whole content gets deleted.</p>
  
  <pre><code> function clear_onclick() {
          CKEDITOR.instances.message.setData('');
   }
  </code></pre>
  
  <p>How can I clear the selected text from CKEditor on click of clear button in ASP.Net MVC2?</p>