From 70dedf26e2b98523bc50ec40a5430543103e5438 Mon Sep 17 00:00:00 2001 From: Christopher Darling Date: Mon, 26 Oct 2015 11:04:44 +0000 Subject: [PATCH] FIX: HtmlEditorConfig should be using content_css as per https://github.com/silverstripe/silverstripe-framework/pull/4706 --- code/ReportAdmin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ReportAdmin.php b/code/ReportAdmin.php index 33a967a1..f1e35fa1 100644 --- a/code/ReportAdmin.php +++ b/code/ReportAdmin.php @@ -47,7 +47,7 @@ class ReportAdmin extends LeftAndMain implements PermissionProvider { $this->reportObject = (isset($allReports[$this->reportClass])) ? $allReports[$this->reportClass] : null; // Set custom options for TinyMCE specific to ReportAdmin - HtmlEditorConfig::get('cms')->setOption('ContentCSS', project() . '/css/editor.css'); + HtmlEditorConfig::get('cms')->setOption('content_css', project() . '/css/editor.css'); HtmlEditorConfig::get('cms')->setOption('Lang', i18n::get_tinymce_lang()); // Always block the HtmlEditorField.js otherwise it will be sent with an ajax request @@ -186,4 +186,4 @@ class ReportAdmin extends LeftAndMain implements PermissionProvider { return $form; } -} \ No newline at end of file +}