[wp-trac] [WordPress Trac] #40956: Twenty Twelve: Line-Height in TinyMCE Editor
WordPress Trac
noreply at wordpress.org
Sat Jun 10 02:29:22 UTC 2017
#40956: Twenty Twelve: Line-Height in TinyMCE Editor
---------------------------+------------------------------
Reporter: superpoincare | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 4.8
Severity: normal | Resolution:
Keywords: | Focuses: administration
---------------------------+------------------------------
Comment (by azaozz):
Caused by TinyMCE adding more specific `line-height: 1.2;` for most block
elements. To counter that we added `line-height: inherit;`, but
TwentyTwelve overrides `line-height` to `1` on the body, then sets less
specific line-height for the block elements.
As far as I see the best fast fix is to make the selectors for line-height
in TwentyTwelve more specific. Ideally this should not be set in TinyMCE
with higher specificity, i.e. the selectors should have been the tag names
only without `.mce-content-body`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40956#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list