From 6cccdf89eebdd81ec27d3f169ca11d1827850eb3 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Sun, 16 Oct 2016 22:50:28 +0000 Subject: [PATCH] TinyMCE: restore the monospace font in textareas in the TinyMCE UI. Make it same as in the Text editor. Fixes #38125. git-svn-id: https://develop.svn.wordpress.org/trunk@38801 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/css/editor.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/wp-includes/css/editor.css b/src/wp-includes/css/editor.css index f0fadef8de..21b24f915e 100644 --- a/src/wp-includes/css/editor.css +++ b/src/wp-includes/css/editor.css @@ -12,6 +12,13 @@ font-family: inherit; } +.mce-container .mce-monospace, +.mce-widget .mce-monospace { + font-family: Consolas, Monaco, monospace; + font-size: 13px; + line-height: 150%; +} + /* TinyMCE windows */ #mce-modal-block, #mce-modal-block.mce-fade {