When we select the content, the parent element (
) is selected and a span element is added within this. However, if a value is selected which is smaller than the default line height value of the
element, it doesn't work. Basically the line-height never goes less than the parent's line height value.
Its probably a css property (inline property cannot have a lower line height than its parent?) but that makes it difficult to provide a dropdown for selecting line heights that are smaller than the current. Unless it can be applied to the parent itself and not a a span.
Please let me know if there's a way around this...thanks!