Commit 55f6f425 authored by alexpott's avatar alexpott
Browse files

Issue #2552187 by Wim Leers, LewisNyman: Follow-up for #2395853: CKEditor is...

Issue #2552187 by Wim Leers, LewisNyman: Follow-up for #2395853: CKEditor is loading system.modules.css, which no longer exists
parent 46ffe700
...@@ -416,7 +416,7 @@ public function buildToolbarJSSetting(EditorEntity $editor) { ...@@ -416,7 +416,7 @@ public function buildToolbarJSSetting(EditorEntity $editor) {
public function buildContentsCssJSSetting(EditorEntity $editor) { public function buildContentsCssJSSetting(EditorEntity $editor) {
$css = array( $css = array(
drupal_get_path('module', 'ckeditor') . '/css/ckeditor-iframe.css', drupal_get_path('module', 'ckeditor') . '/css/ckeditor-iframe.css',
drupal_get_path('module', 'system') . '/css/system.module.css', drupal_get_path('module', 'system') . '/css/components/align.module.css',
); );
$this->moduleHandler->alter('ckeditor_css', $css, $editor); $this->moduleHandler->alter('ckeditor_css', $css, $editor);
$css = array_merge($css, _ckeditor_theme_css()); $css = array_merge($css, _ckeditor_theme_css());
......
...@@ -477,7 +477,7 @@ protected function getDefaultToolbarConfig() { ...@@ -477,7 +477,7 @@ protected function getDefaultToolbarConfig() {
protected function getDefaultContentsCssConfig() { protected function getDefaultContentsCssConfig() {
return array( return array(
file_create_url('core/modules/ckeditor/css/ckeditor-iframe.css'), file_create_url('core/modules/ckeditor/css/ckeditor-iframe.css'),
file_create_url('core/modules/system/css/system.module.css'), file_create_url('core/modules/system/css/components/align.module.css'),
); );
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment