@ckeditor/ckeditor5-core 47.0.0 → 47.1.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-core",
3
- "version": "47.0.0",
3
+ "version": "47.1.0-alpha.0",
4
4
  "description": "The core architecture of CKEditor 5 – the best browser-based rich text editor.",
5
5
  "keywords": [
6
6
  "wysiwyg",
@@ -24,10 +24,10 @@
24
24
  "type": "module",
25
25
  "main": "src/index.js",
26
26
  "dependencies": {
27
- "@ckeditor/ckeditor5-engine": "47.0.0",
28
- "@ckeditor/ckeditor5-ui": "47.0.0",
29
- "@ckeditor/ckeditor5-utils": "47.0.0",
30
- "@ckeditor/ckeditor5-watchdog": "47.0.0",
27
+ "@ckeditor/ckeditor5-engine": "47.1.0-alpha.0",
28
+ "@ckeditor/ckeditor5-ui": "47.1.0-alpha.0",
29
+ "@ckeditor/ckeditor5-utils": "47.1.0-alpha.0",
30
+ "@ckeditor/ckeditor5-watchdog": "47.1.0-alpha.0",
31
31
  "es-toolkit": "1.39.5"
32
32
  },
33
33
  "author": "CKSource (http://cksource.com/)",
@@ -808,6 +808,9 @@ export class Editor extends /* #__PURE__ */ ObservableMixin() {
808
808
  throw new CKEditorError('license-key-domain-limit');
809
809
  }
810
810
  if (reason == 'pluginNotAllowed') {
811
+ // It's safe to assume `name` exists because `pluginNotAllowed` must know a plugin name when checking the license.
812
+ const gluePluginName = name.replace(/(Editing|UI)$/, '');
813
+ const containsGluePlugin = this.plugins.has(gluePluginName);
811
814
  /**
812
815
  * The plugin you are trying to use is not permitted under your current license.
813
816
  * Please check the available features on the
@@ -817,7 +820,9 @@ export class Editor extends /* #__PURE__ */ ObservableMixin() {
817
820
  * @error license-key-plugin-not-allowed
818
821
  * @param {String} pluginName The plugin you tried to load.
819
822
  */
820
- throw new CKEditorError('license-key-plugin-not-allowed', null, { pluginName: name });
823
+ throw new CKEditorError('license-key-plugin-not-allowed', null, {
824
+ pluginName: containsGluePlugin ? gluePluginName : name
825
+ });
821
826
  }
822
827
  if (reason == 'featureNotAllowed') {
823
828
  /**