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

Fixes #40743.
Built from https://develop.svn.wordpress.org/trunk@40654


git-svn-id: http://core.svn.wordpress.org/trunk@40517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2017-05-12 18:06:40 +00:00
parent 705ecf3312
commit 6f4a1049a8
2 changed files with 13 additions and 1 deletions

View File

@ -21,6 +21,18 @@ body {
word-wrap: break-word; /* Old syntax */
}
/* Changed in 4.6.0, see https://core.trac.wordpress.org/ticket/40743 */
.mce-content-body p,
.mce-content-body div,
.mce-content-body h1,
.mce-content-body h2,
.mce-content-body h3,
.mce-content-body h4,
.mce-content-body h5,
.mce-content-body h6 {
line-height: inherit;
}
body.rtl {
font-family: Tahoma, "Times New Roman", "Bitstream Charter", Times, serif;
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.8-alpha-40653';
$wp_version = '4.8-alpha-40654';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.