diff --git a/core/modules/ckeditor5/ckeditor5.info.yml b/core/modules/ckeditor5/ckeditor5.info.yml index 09e22468c4..6d93d11a3f 100644 --- a/core/modules/ckeditor5/ckeditor5.info.yml +++ b/core/modules/ckeditor5/ckeditor5.info.yml @@ -3,5 +3,6 @@ type: module description: "WYSIWYG editing for rich text fields using CKEditor 5." version: VERSION package: Core (Experimental) +lifecycle: experimental dependencies: - drupal:editor diff --git a/core/modules/ckeditor5/modules/ckeditor5_dev/ckeditor5_dev.info.yml b/core/modules/ckeditor5/modules/ckeditor5_dev/ckeditor5_dev.info.yml index ebaa01dad8..92a1a2898f 100644 --- a/core/modules/ckeditor5/modules/ckeditor5_dev/ckeditor5_dev.info.yml +++ b/core/modules/ckeditor5/modules/ckeditor5_dev/ckeditor5_dev.info.yml @@ -3,5 +3,6 @@ type: module description: "Enables the CKEditor 5 Inspector and provides testing helpers." version: VERSION package: Core (Experimental) +lifecycle: experimental dependencies: - ckeditor5:ckeditor5 diff --git a/core/modules/ckeditor5/modules/ckeditor5_dev/ckeditor5_dev.module b/core/modules/ckeditor5/modules/ckeditor5_dev/ckeditor5_dev.module index aae3c79a8f..c608b16c53 100644 --- a/core/modules/ckeditor5/modules/ckeditor5_dev/ckeditor5_dev.module +++ b/core/modules/ckeditor5/modules/ckeditor5_dev/ckeditor5_dev.module @@ -15,7 +15,7 @@ function ckeditor5_dev_help($route_name, RouteMatchInterface $route_match) { case 'help.page.ckeditor5_dev': $output = ''; $output .= '
' . t('The CKEditor 5 Dev module attaches CKEditor5Inspector to any instances of CKEditor 5 on the page.') . '
' . t('The CKEditor 5 Dev tools module attaches CKEditor5Inspector to any instances of CKEditor 5 on the page. For more information, see the online documentation for the CKEditor 5 Dev tools module.', [':doc_url' => 'https://www.drupal.org/docs/contributed-modules/ckeditor-5/development-tools']) . '
' . t('This module should not be enabled in production!') . '
'; $output .= '' . t('After enabling the module, navigate to a page where CKEditor 5 is active, the inspector will appear in a pane at the bottom of your browser.') . '
'; diff --git a/core/modules/ckeditor5/src/Plugin/Editor/CKEditor5.php b/core/modules/ckeditor5/src/Plugin/Editor/CKEditor5.php index 1c0c38b5a2..07a7391894 100644 --- a/core/modules/ckeditor5/src/Plugin/Editor/CKEditor5.php +++ b/core/modules/ckeditor5/src/Plugin/Editor/CKEditor5.php @@ -816,7 +816,7 @@ public function getLibraries(Editor $editor) { if (isset($ckeditor_langcodes[$language_interface->getId()])) { $ui_langcode = $ckeditor_langcodes[$language_interface->getId()]; } - $plugin_libraries[] = 'ckeditor5/ckeditor5.translations.' . $ui_langcode; + $plugin_libraries[] = 'core/ckeditor5.translations.' . $ui_langcode; } return $plugin_libraries;