diff --git a/core/modules/ckeditor/ckeditor.module b/core/modules/ckeditor/ckeditor.module index 143a7b0..80af8e9 100644 --- a/core/modules/ckeditor/ckeditor.module +++ b/core/modules/ckeditor/ckeditor.module @@ -65,13 +65,6 @@ function ckeditor_ckeditor_css_alter(array &$css, Editor $editor) { $css[] = drupal_get_path('module', 'filter') . '/css/filter.caption.css'; } - // Add the filter caption CSS if the text format associated with this text - // editor uses the filter_align filter. This is used by the included - // CKEditor DrupalImageCaption plugin. - if ($editor->getFilterFormat()->filters('filter_align')->status) { - $css[] = drupal_get_path('module', 'ckeditor') . '/css/plugins/drupalimagecaption/ckeditor.drupalimagecaption.css'; - } - // @todo: Remove in https://www.drupal.org/node/2645100. /** @var \Drupal\ckeditor\CKEditorPluginManager $ckeditor_plugin_manager */ $ckeditor_plugin_manager = \Drupal::service('plugin.manager.ckeditor.plugin');