@ckeditor/ckeditor5-core 44.2.0 → 44.2.1
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 +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/src/editor/editor.js +2 -1
package/dist/index.js
CHANGED
|
@@ -2143,8 +2143,9 @@ function getPageSessionID() {
|
|
|
2143
2143
|
].includes(licensePayload.licenseType)) {
|
|
2144
2144
|
const { licenseType } = licensePayload;
|
|
2145
2145
|
const capitalizedLicenseType = licenseType[0].toUpperCase() + licenseType.slice(1);
|
|
2146
|
+
const article = licenseType === 'evaluation' ? 'an' : 'a';
|
|
2146
2147
|
console.info(`%cCKEditor 5 ${capitalizedLicenseType} License`, 'color: #ffffff; background: #743CCD; font-size: 14px; padding: 4px 8px; border-radius: 4px;');
|
|
2147
|
-
console.warn(`⚠️ You are using
|
|
2148
|
+
console.warn(`⚠️ You are using ${article} ${licenseType} license of CKEditor 5` + `${licenseType === 'trial' ? ' which is for evaluation purposes only' : ''}. ` + 'For production usage, please obtain a production license at https://portal.ckeditor.com/');
|
|
2148
2149
|
}
|
|
2149
2150
|
if ([
|
|
2150
2151
|
'evaluation',
|