diff --git a/packages/ckeditor5-core/src/editor/editor.ts b/packages/ckeditor5-core/src/editor/editor.ts index f0e0e34686b..9bb555c437a 100644 --- a/packages/ckeditor5-core/src/editor/editor.ts +++ b/packages/ckeditor5-core/src/editor/editor.ts @@ -534,17 +534,11 @@ export default abstract class Editor extends /* #__PURE__ */ ObservableMixin() { 'color: #ffffff; background: #743CCD; font-size: 14px; padding: 4px 8px; border-radius: 4px;' ); - if ( licenseKey === 'trial' ) { - console.warn( - `⚠️ You are using a ${ licenseType } license of CKEditor 5 which is for evaluation purposes only. ` + - 'For production usage, please obtain a production license at https://portal.ckeditor.com/.' - ); - } else { - console.warn( - `⚠️ You are using a ${ licenseType } license of CKEditor 5. ` + - 'For production usage, please obtain a production license at https://portal.ckeditor.com/.' - ); - } + console.warn( + `⚠️ You are using a ${ licenseType } license of CKEditor 5` + + `${ licenseKey === 'trial' ? ' which is for evaluation purposes only' : '' }. ` + + 'For production usage, please obtain a production license at https://portal.ckeditor.com/.' + ); } if ( [ 'evaluation', 'trial' ].includes( licensePayload.licenseType ) ) {