From 9fa3be3d69b035d680346936ee663fffb51518f3 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 6 Apr 2015 23:36:21 -0700 Subject: [PATCH] CRM-16246 - Load ckeditor in "page-header" instead of "html-header". html-header goes through Drupal aggregation, which breaks ckeditor. --- Civi/Angular/Page/Main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Civi/Angular/Page/Main.php b/Civi/Angular/Page/Main.php index 854f022583..ed7140751f 100644 --- a/Civi/Angular/Page/Main.php +++ b/Civi/Angular/Page/Main.php @@ -84,7 +84,7 @@ class Main extends \CRM_Core_Page { $this->res->addScriptFile('civicrm', 'bower_components/angular-route/angular-route.min.js', 110, 'html-header', FALSE); // FIXME: crmUi depends on loading ckeditor, but ckeditor doesn't work with this aggregation. - $this->res->addScriptFile('civicrm', 'packages/ckeditor/ckeditor.js', 100, 'html-header', FALSE); + $this->res->addScriptFile('civicrm', 'packages/ckeditor/ckeditor.js', 100, 'page-header', FALSE); $config = \CRM_Core_Config::singleton(); if ($config->debug) { -- 2.25.1