Make WordPress Core

Changeset 40654


Ignore:
Timestamp:
05/12/2017 06:05:21 PM (8 years ago)
Author:
azaozz
Message:

TinyMCE: do not override line-height for paragraphs and headings in 4.6+, makes them hard to read.

Fixes #40743.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css

    r39217 r40654  
    2020    overflow-wrap: break-word;
    2121    word-wrap: break-word; /* Old syntax */
     22}
     23
     24/* Changed in 4.6.0, see https://core.trac.wordpress.org/ticket/40743 */
     25.mce-content-body p,
     26.mce-content-body div,
     27.mce-content-body h1,
     28.mce-content-body h2,
     29.mce-content-body h3,
     30.mce-content-body h4,
     31.mce-content-body h5,
     32.mce-content-body h6 {
     33    line-height: inherit;
    2234}
    2335
Note: See TracChangeset for help on using the changeset viewer.