﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10861	Line height toolbar setting	heaven		"Hi, why the line height option is missing in the editor?

It is sometimes required to change line height, specified in content css and there are no way to add line height to the ""p"" element. This is probably affordable by wrapping the content by a new div, but that's a pain for users.

Is it possible to add a line height button with the next values:
{{{
default // remove line-height rule, use defaults
1       // just default m$ word options
1.5
2
[]      // a text field, user could enter any value, e.g 1.2 or 20px
}}}

I think this may have same internal problems as #5980 and you will have to mix inline styles?

I think the solution is in changing the way how styles are added to the element now. I noticed when I need bold text it does insert tag ""strong"", for underline — ""u"". What if rework this mechanism and always use ""span"" with inline styles?

So to achieve attached screenshot example, instead of
<p><em>Lorem <s><strong>ipsum</strong> <u>dolor</u></s> sit amet.</em></p>
do
<p><span style=""font-style: italic;"">Lorem <span style=""text-decoration: line-through;""><span style=""font-weight: bold"">ipsum</span> <span style=""text-decoration: underline;"">dolor</span></span> sit amet.</span></p>

Having such engine editor will become much more flexible, line height option will be possible, custom user wildcard styles also."	New Feature	closed	Normal		Core : Styles		duplicate		
