Hello,
I'm wondering if it is possible to configure CKEditor to coalesce styles on a common text selection into a single <span> element rather than creating a unique <span> for each style.
For example, if I make a selection of text and choose a font name, followed by a font size, the resulting structure that it inserted into the content looks something like:
<span style="font-family:myfontname"><span style="font-size:32px">my text</span></span>
I would rather see something like:
<span style="font-family:myfontname; font-size:32px">my text</span>
This may seem like a purely cosmetic request, but I have developed some additional plugins that apply line-height and letter-spacing style modifications to text selections, and I find that my line-height and letter-spacing results are inconsisent depending on the order in which they appear in the nesting of styling spans.
For example:
<span style="letter-spacing:0.2em"><span style="font-family:myfont"><span style="font-size:50px">my text</span></span></span>
produces a VERY different visual letter-spacing result than:
<span style="font-family:myfont"><span style="font-size:50px"><span style="letter-spacing:0.2em">my text</span></span></span>
Thanks!