Commit 64171682 authored by webchick's avatar webchick

Issue #2057981 by Wim Leers: Remove tiny remnant of CKEditor image and link plugins.

parent 0e129e58
......@@ -208,8 +208,6 @@ public function getJSSettings(EditorEntity $editor) {
'toolbar' => $this->buildToolbarJSSetting($editor),
'contentsCss' => $this->buildContentsCssJSSetting($editor),
'extraPlugins' => implode(',', array_keys($external_plugin_files)),
// @todo: Remove image and link plugins from CKEditor build.
'removePlugins' => 'image,link',
'language' => $language_interface->id,
// Configure CKEditor to not load styles.js. The StylesCombo plugin will
// set stylesSet according to the user's settings, if the "Styles" button
......
......@@ -93,7 +93,6 @@ function testGetJSSettings() {
'toolbar' => $this->getDefaultToolbarConfig(),
'contentsCss' => $this->getDefaultContentsCssConfig(),
'extraPlugins' => 'drupalimage,drupallink',
'removePlugins' => 'image,link',
'language' => 'en',
'stylesSet' => FALSE,
'drupalExternalPlugins' => array(
......@@ -118,7 +117,6 @@ function testGetJSSettings() {
$expected_config['toolbar'][] = '/';
$expected_config['format_tags'] = 'p;h4;h5;h6';
$expected_config['extraPlugins'] .= ',llama_contextual,llama_contextual_and_button';
$expected_config['removePlugins'] = 'image,link';
$expected_config['drupalExternalPlugins']['llama_contextual'] = file_create_url('core/modules/ckeditor/tests/modules/js/llama_contextual.js');
$expected_config['drupalExternalPlugins']['llama_contextual_and_button'] = file_create_url('core/modules/ckeditor/tests/modules/js/llama_contextual_and_button.js');
$expected_config['contentsCss'][] = file_create_url('core/modules/ckeditor/tests/modules/ckeditor_test.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