From a110f6afe6b770d33ec91516a51e3b48b4497643 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Fri, 3 Dec 2021 16:39:19 +0100 Subject: [PATCH] =?UTF-8?q?Revert=20"Arri=C3=A8re-plan=20Tiny=20Ok"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit a9bb3de500c6978cb0c6eb5ce421d8b20a0a87b8. --- core/core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core.php b/core/core.php index 1b23c767..9512ea3e 100644 --- a/core/core.php +++ b/core/core.php @@ -2243,7 +2243,7 @@ class core extends common { // Couleurs de site dans TinyMCe $css .= 'div.mce-edit-area {font-family:"' . str_replace('+', ' ', $this->getData(['theme', 'text', 'font'])) . '",sans-serif}'; // Site dans TinyMCE - $css .= '.mce-container-body {background-color:' . $this->getData(['theme', 'site', 'backgroundColor']) . ';}'; + $css .= '.editorWysiwyg:not(.mce-text) {background-color:' . $this->getData(['theme', 'site', 'backgroundColor']) . ';}'; //$css .= 'a:hover:not(.inputFile, button){color:' . $colors['darken'] . '}'; $css .= 'body,.row > div{font-size:' . $this->getData(['theme', 'text', 'fontSize']) . '}'; $css .= 'body{color:' . $this->getData(['theme', 'text', 'textColor']) . '}';