Skip to content

Commit be36298

Browse files
authored
DOC-3223: New js/commerciallicensekeymanager.js file to lazyload majority of plugin after editor init. (#3880)
1 parent 5a677c7 commit be36298

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

modules/ROOT/pages/8.2.0-release-notes.adoc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,17 @@ The following premium plugin updates were released alongside {productname} 8.2.0
4242

4343
// For information on the **<Premium plugin name 1>** plugin, see: xref:<plugincode>.adoc[<Premium plugin name 1>].
4444

45+
=== License Key Manager
46+
47+
The {productname} 8.2.0 release includes an accompanying release of the **License Key Manager**.
48+
49+
==== New `+js/commerciallicensekeymanager.js+` file to lazyload majority of plugin after editor init.
50+
// #TINY-12820
51+
52+
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.
53+
54+
For information on the **License Key Manager** plugin, see: xref:license-key.adoc[License Key Manager].
55+
4556
=== **Templates**
4657

4758
The {productname} {release-version} release includes an accompanying release of the **Templates** premium plugin.
@@ -54,6 +65,7 @@ The {productname} {release-version} release includes an accompanying release of
5465
Previously, pressing **Enter** while focused on the title input during category or template creation would trigger form submission, even when the submit button was disabled. This occurred because the input handling logic did not validate the form state before submission. As a result, users could inadvertently attempt to create a category or template with an empty name, causing an error.
5566

5667
{productname} {release-version} addresses this issue by updating the input handling logic to check the form's validity before allowing submission when **Enter** is pressed. Now, if the form is invalid or the submit button is disabled, pressing **Enter** will not trigger submission, preventing erroneous attempts to create categories or templates with empty names.
68+
5769
=== Media Optimizer
5870

5971
The {productname} 8.2.0 release includes an accompanying release of the **Media Optimizer** premium plugin.

modules/ROOT/pages/license-key.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,12 @@ a| * Check your internet connection
316316
a| * Verify that your API key is valid
317317
* Check if your subscription is active
318318
* Visit the link:https://support.tiny.cloud[Support Portal] if the issue persists
319+
320+
| xref:resource-load-error[Resource Load Error]
321+
| The editor is disabled because the {productname} license key could not be validated.
322+
| 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.
323+
a| * If bundling, verify that you are using the `licensekeymanager/index.js` file that imports other required resources.
324+
* If hosting, verify that a `js/commerciallicensekeymanager.js` file is also present in the `plugins/licensekeymanager` folder.
319325
|===
320326

321327
=== Detailed Error Descriptions
@@ -360,4 +366,8 @@ A server-side error occurred while validating the API key. The editor will attem
360366
==== Online API Key Error (4xx - Disable)
361367
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 "<<What is the difference between a license key and the API key?>>" section for clarification.
362368

369+
[[resource-load-error]]
370+
==== Resource Load Error
371+
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 <<Setting up the Commercial License Key Manager>> section for implementation details.
372+
363373
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.

0 commit comments

Comments
 (0)