title: CKEditor Inline selection wrapping
body: <p>I'm looking for a way to add a inline span element with attributes to a selection. 
  The hard part of this is getting it working with selections that pass over multiple block level elements. </p>
  
  <p>I was looking in the sourcecode of the StyleCombobox  and found this line. </p>
  
  <pre><code>var style = styles[ value ],
  elementPath = editor.elementPath();
  editor[ style.checkActive( elementPath ) ? 'removeStyle' : 'applyStyle' ]( style );
  </code></pre>
  
  <p>This way it already works on multiple block level elements. </p>
  
  <p>The only thing is that i would like to apply attributes to the span that is made around the multiple selections for different block level elements instead of applying a style element.</p>
  
  <p>Does anyone know how this can be done?</p>