From 40edf36a8f1288161ea8807a23936e7c6f3188b3 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Thu, 9 Oct 2025 11:18:27 +1000 Subject: [PATCH] DOC-3223: New js/commerciallicensekeymanager.js file to lazyload majority of plugin after editor init. --- modules/ROOT/pages/8.2.0-release-notes.adoc | 10 ++++++++++ modules/ROOT/pages/license-key.adoc | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/modules/ROOT/pages/8.2.0-release-notes.adoc b/modules/ROOT/pages/8.2.0-release-notes.adoc index 72151042b1..871169d2d5 100644 --- a/modules/ROOT/pages/8.2.0-release-notes.adoc +++ b/modules/ROOT/pages/8.2.0-release-notes.adoc @@ -42,6 +42,16 @@ The following premium plugin updates were released alongside {productname} 8.2.0 // For information on the **** plugin, see: xref:.adoc[]. +=== License Key Manager + +The {productname} 8.2.0 release includes an accompanying release of the **License Key Manager**. + +==== New `+js/commerciallicensekeymanager.js+` file to lazyload majority of plugin after editor init. +// #TINY-12820 + +The **License Key Manager** has been reworked to include a new `+js/commerciallicensekeymanager.js+` file that is lazy-loaded when required. This change reduces the initialization time of the editor and time to first render. + +For information on the **License Key Manager** plugin, see: xref:license-key.adoc[License Key Manager]. [[accompanying-enhanced-skins-and-icon-packs-changes]] == Accompanying Enhanced Skins & Icon Packs changes diff --git a/modules/ROOT/pages/license-key.adoc b/modules/ROOT/pages/license-key.adoc index fdb12b916a..8a630e6e10 100644 --- a/modules/ROOT/pages/license-key.adoc +++ b/modules/ROOT/pages/license-key.adoc @@ -316,6 +316,12 @@ a| * Check your internet connection a| * Verify that your API key is valid * Check if your subscription is active * Visit the link:https://support.tiny.cloud[Support Portal] if the issue persists + +| xref:resource-load-error[Resource Load Error] +| The editor is disabled because the {productname} license key could not be validated. +| The editor is disabled because the {productname} license key could not be validated. The {productname} Commercial License Key Manager plugin was unable to load additional required resources. +a| * If bundling, verify that you are using the `licensekeymanager/index.js` file that imports other required resources. +* If hosting, verify that a `js/commerciallicensekeymanager.js` file is also present in the `plugins/licensekeymanager` folder. |=== === Detailed Error Descriptions @@ -360,4 +366,8 @@ A server-side error occurred while validating the API key. The editor will attem ==== Online API Key Error (4xx - Disable) The API key validation failed due to an invalid key or inactive subscription. The editor will be disabled until a valid API key is provided. For API key issues, visit link:https://www.tiny.cloud/my-account[Tiny Cloud Account] or see the "<>" section for clarification. +[[resource-load-error]] +==== Resource Load Error +The TinyMCE Commercial License Key Manager plugin was unable to load additional required resources. This typically occurs when the `js/commerciallicensekeymanager.js` file is missing or not properly configured. For bundled applications, ensure you are using the `licensekeymanager/index.js` file that imports other required resources. For self-hosted installations, verify that a `js/commerciallicensekeymanager.js` file is present in the `plugins/licensekeymanager` folder. See the <> section for implementation details. + For additional assistance, visit our link:https://support.tiny.cloud[Support Portal] or contact your link:https://www.tiny.cloud/my-account[Tiny Cloud Account] manager.