title: CK editor- multiple styles to elements
body: <p>I wonder if any of you are CK editor experts? The way that CK editor is set up, when I add multiple styles to a selection of text, it will wrap the text in span tags with style attributes- but it will use a new tag for each style- which often results in the styles being lost.</p>
  
  <p>For example, if I wanted to apply the following styles to a selection of text- bold, font-size:22px and color:red - CK editor would output the following HTML:</p>
  
  <pre><code>&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size: 22px;"&gt;&lt;strong&gt;Testing&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;
  </code></pre>
  
  <p>Which doesn't apply the styles properly. Does anyone know how to set it up to output like:</p>
  
  <pre><code>&lt;span style="color:rgb(255,0,0);font-size: 22px;font-weight:bold"&gt;Testing&lt;/span&gt;
  </code></pre>
  
  <p>Thanks.</p>