From 89ef4c2123f881f73ff7bf3203c9b444a638068f Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Fri, 12 May 2017 18:05:21 +0000 Subject: [PATCH] TinyMCE: do not override `line-height` for paragraphs and headings in 4.6+, makes them hard to read. Fixes #40743. git-svn-id: https://develop.svn.wordpress.org/trunk@40654 602fd350-edb4-49c9-b593-d223f7449a82 --- .../js/tinymce/skins/wordpress/wp-content.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css b/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css index 6f52773378..84ae59c39b 100644 --- a/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css +++ b/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css @@ -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; }