@ckeditor/ckeditor5-core 45.1.0-alpha.2 → 45.1.0-alpha.3
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/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/src/editor/editor.d.ts +1 -0
- package/src/editor/editor.js +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-core",
|
|
3
|
-
"version": "45.1.0-alpha.
|
|
3
|
+
"version": "45.1.0-alpha.3",
|
|
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": "45.1.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-ui": "45.1.0-alpha.
|
|
29
|
-
"@ckeditor/ckeditor5-utils": "45.1.0-alpha.
|
|
30
|
-
"@ckeditor/ckeditor5-watchdog": "45.1.0-alpha.
|
|
27
|
+
"@ckeditor/ckeditor5-engine": "45.1.0-alpha.3",
|
|
28
|
+
"@ckeditor/ckeditor5-ui": "45.1.0-alpha.3",
|
|
29
|
+
"@ckeditor/ckeditor5-utils": "45.1.0-alpha.3",
|
|
30
|
+
"@ckeditor/ckeditor5-watchdog": "45.1.0-alpha.3",
|
|
31
31
|
"es-toolkit": "1.32.0"
|
|
32
32
|
},
|
|
33
33
|
"author": "CKSource (http://cksource.com/)",
|
package/src/editor/editor.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import type { LoadedPlugins, PluginConstructor } from '../plugin.js';
|
|
|
15
15
|
import type { EditorConfig } from './editorconfig.js';
|
|
16
16
|
declare global {
|
|
17
17
|
var CKEDITOR_GLOBAL_LICENSE_KEY: string | undefined;
|
|
18
|
+
var CKEDITOR_WARNING_SUPPRESSIONS: Record<string, boolean>;
|
|
18
19
|
}
|
|
19
20
|
declare const Editor_base: {
|
|
20
21
|
new (): import("@ckeditor/ckeditor5-utils").Observable;
|
package/src/editor/editor.js
CHANGED
|
@@ -400,10 +400,10 @@ class Editor extends /* #__PURE__ */ ObservableMixin() {
|
|
|
400
400
|
}
|
|
401
401
|
if (['development', 'evaluation', 'trial'].includes(licensePayload.licenseType)) {
|
|
402
402
|
const { licenseType } = licensePayload;
|
|
403
|
-
|
|
404
|
-
if (!
|
|
403
|
+
window.CKEDITOR_WARNING_SUPPRESSIONS = window.CKEDITOR_WARNING_SUPPRESSIONS || {};
|
|
404
|
+
if (!window.CKEDITOR_WARNING_SUPPRESSIONS[licenseType]) {
|
|
405
405
|
warnAboutNonProductionLicenseKey(licenseType);
|
|
406
|
-
|
|
406
|
+
window.CKEDITOR_WARNING_SUPPRESSIONS[licenseType] = true;
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
409
|
if (['evaluation', 'trial'].includes(licensePayload.licenseType)) {
|