[wp-trac] [WordPress Trac] #40956: Twenty Twelve: Line-Height in TinyMCE Editor

WordPress Trac noreply at wordpress.org
Mon Jun 12 10:04:13 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 spocke):

 We are changing the specificity of the css selector to "body" in iframe
 mode and ".mce-content-body" in inline mode. We are also setting the
 default line height to line-height: 1.3; that seems closest to what we
 have today and doesn't seem to break when font sizes increases. The
 default in WP seems to be 1.5 then overridden by skins so with this change
 everything should work out of the box except for inline gutenberg where
 the css would have to add a .mce-content-body { line-height: inherit; } or
 a specific override.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40956#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list