core/modules/ckeditor/src/Plugin/Editor/CKEditor.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/modules/ckeditor/src/Plugin/Editor/CKEditor.php b/core/modules/ckeditor/src/Plugin/Editor/CKEditor.php index abf409b..a9544f4 100644 --- a/core/modules/ckeditor/src/Plugin/Editor/CKEditor.php +++ b/core/modules/ckeditor/src/Plugin/Editor/CKEditor.php @@ -223,6 +223,10 @@ public function settingsForm(array $form, FormStateInterface $form_state, Editor ), )); $config = $this->getJSSettings($fake_editor); + // Force *all* CKEditor plugins to be loaded, including those whose + // isEnabled() method returns FALSE. + $config['extraPlugins'] = implode(',', array_keys($all_external_plugins)); + $config['drupalExternalPlugins'] = array_map('file_create_url', $all_external_plugins); // Remove the ACF configuration that is generated based on filter settings, // because otherwise we cannot retrieve per-feature metadata. unset($config['allowedContent']);