title: Applying css in TinyMCE
body: <p>I am implementing ForeColor in TinyMCE Rich Text Editor. </p>
  
  <p>it uses style to apply forecolor to selected text as like this </p>
  
  <pre><code>&lt;span style="color: rgb(255, 0, 0);" mce_style="color: #ff0000;"&gt;Hello&lt;/span&gt;.
  </code></pre>
  
  <p>i want to apply css class instead of "style" here.. how to apply css class here? These Css Classes contain ColorCodes.</p>
  
  <p>Example:</p>
  
  <pre><code>&lt;span class="colorRed"&gt;Hello&lt;/span&gt;
  </code></pre>
  
  <p>My CSS Class</p>
  
  <pre><code>.colorRed
  {
  color: #ff0000;
  }
  </code></pre>
  
  <p>thank you</p>