Skip to content

Commit 7d83819

Browse files
committed
DOC-3226: Update license key documentation for TinyMCE 8, clarifying API key usage, T8LK prefix requirements, and adding common error messages with solutions.
1 parent 7e1a0ee commit 7d83819

File tree

1 file changed

+109
-8
lines changed

1 file changed

+109
-8
lines changed

modules/ROOT/pages/license-key.adoc

Lines changed: 109 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ The GPLv2+ license was chosen to provide the best compatibility with existing GP
154154

155155
=== What is the difference between a license key and the API key?
156156

157-
The **API key** is used when loading TinyMCE from the {cloudname}. The license key is used to declare the license terms when self-hosting {productname}.
157+
The **API key** is used when loading {productname} from the {cloudname}. The license key is used to declare the license terms when self-hosting {productname}.
158158

159159
=== Who needs to get a license key?
160160

@@ -190,19 +190,19 @@ In addition to the editor being readonly, a console log warning message and/or e
190190

191191
The license key ensures compliance with {productname} licensing terms. It's part of our efforts to refine the license key system and may have additional functionalities in the future.
192192

193-
=== How do I obtain a TinyMCE 8 license key?
193+
=== How do I obtain a {productname} 8 license key?
194194

195-
To obtain a new TinyMCE 8 license key (T8LK-prefixed):
195+
To obtain a new {productname} 8 license key (T8LK-prefixed):
196196

197197
* *Existing customers*: Contact your account manager or visit link:https://www.tiny.cloud/my-account[Tiny Cloud Account] to upgrade your subscription.
198198
* *New customers*: Visit link:https://www.tiny.cloud/pricing[Tiny Cloud Pricing] to purchase a new license.
199199

200200
[IMPORTANT]
201201
====
202-
Existing TinyMCE 7 license keys cannot be modified to work with TinyMCE 8 by adding the T8LK prefix. A new TinyMCE 8 license must be obtained through the proper channels listed above.
202+
Existing {productname} 7 license keys cannot be modified to work with {productname} 8 by adding the T8LK prefix. A new {productname} 8 license must be obtained through the proper channels listed above.
203203
====
204204

205-
=== I'm upgrading from {productname} 7 - how do I get a {productname} 8 license key?
205+
=== If im upgrading from TinyMCE 7 how do I get a TinyMCE 8 license key?
206206

207207
If you are using {cloudname} (cloud-hosted):
208208

@@ -218,7 +218,7 @@ If you are an existing {productname} 7 self-hosted customer upgrading to {produc
218218

219219
[NOTE]
220220
====
221-
Your existing {productname} 7 license key will continue to work with TinyMCE 7 self-hosted installations. But, you will require a separate T8LK-prefixed license key for {productname} 8 editor instances for self-hosted installations.
221+
Your existing {productname} 7 license key will continue to work with {productname} 7 self-hosted installations. But, you will require a separate T8LK-prefixed license key for {productname} 8 editor instances for self-hosted installations.
222222
====
223223

224224
=== How can I get further assistance?
@@ -229,6 +229,107 @@ For any licensing or technical support questions, see our available options on t
229229

230230
For licensing or technical support:
231231
* API key issues: Visit link:https://www.tiny.cloud/my-account[Tiny Cloud Account]
232-
* License key issues: Contact your account manager
232+
* License key issues: Visit link:https://www.tiny.cloud/my-account[Tiny Cloud Account] or contact your account manager
233233
* Technical support: Visit link:https://support.tiny.cloud[Support Portal]
234-
* Documentation: See link:https://www.tiny.cloud/docs/tinymce/latest/[TinyMCE Docs]
234+
* Documentation: See link:https://www.tiny.cloud/docs/tinymce/latest/[{productname} Docs]
235+
236+
== License Key Error Messages
237+
238+
The following table lists common license key error messages that may appear in the console or editor, along with their descriptions and solutions:
239+
240+
[cols="1,2,2,2", options="header"]
241+
|===
242+
| Error Type | Console Message | Editor Notifications | Solution
243+
244+
| xref:invalid-license-key[Invalid license key (General)]
245+
| The editor is disabled because the license key provided is invalid [+${errorType}+]
246+
| The editor is disabled because the license key provided is invalid.
247+
a| * Verify that the license key is correctly copied from your link:https://www.tiny.cloud/my-account[Tiny Cloud Account]
248+
* Ensure there are no extra spaces or characters in the key
249+
* Check if the key matches your deployment type (Cloud vs Self-hosted)
250+
251+
| xref:hard-expired[Hard expired]
252+
| The editor is disabled because the license key has expired and is no longer valid
253+
| The editor is disabled because the license key has expired and is no longer valid.
254+
a| * Visit link:https://www.tiny.cloud/my-account[Tiny Cloud Account] to obtain a new license key
255+
* Update your configuration with the new key
256+
* Visit the link:https://support.tiny.cloud[Support Portal] if you believe your license should still be valid
257+
258+
| xref:soft-expired[Soft expired]
259+
| The editor will be disabled in the near future because the license key has expired
260+
| The editor will be disabled in the near future because the license key has expired.
261+
a| * Visit link:https://www.tiny.cloud/my-account[Tiny Cloud Account] to obtain a new license key
262+
* Update your configuration before the grace period ends
263+
* Visit the link:https://support.tiny.cloud[Support Portal] if you need assistance with license renewal
264+
265+
| xref:invalid-editor-version[Invalid editor version]
266+
| The editor is disabled because the license key is not valid with this version of {productname}
267+
| The editor is disabled because the license key is not valid with this version of {productname}.
268+
a| * Verify that your {productname} version matches the license key version
269+
* Update either your {productname} version or obtain a new license key
270+
* For version-locked keys, ensure you're using the correct patch version
271+
272+
| xref:no-license-key[No license key]
273+
| The editor is disabled because a {productname} license key has not been provided. Provide a valid license key or add license_key: 'gpl' to the init config to agree to the open source license terms.
274+
| The editor is disabled because a {productname} license key has not been provided.
275+
a| * Add the `license_key` parameter to your {productname} configuration
276+
* For GPL usage, set `license_key: 'gpl'`
277+
* For commercial usage, enter your valid commercial license key
278+
279+
| xref:invalid-plugin[Invalid plugin]
280+
| The "+${pluginCode}+" plugin requires a valid {productname} license key
281+
| _No editor message_
282+
a| * Verify that your license includes access to the premium plugin
283+
* Check if your license key is valid and not expired
284+
* Visit the link:https://support.tiny.cloud[Support Portal] if you believe you should have access to this plugin
285+
286+
| xref:online-api-key-error-fallback[Online API Key Error (5xx - Fallback)]
287+
| The API key could not be validated by the API key validation server [type: +${errorType}${statusMsg}+]. Attempting fallback to provided license key.
288+
| The editor is disabled because the API key could not be validated by the API key validation server.
289+
a| * Check your internet connection
290+
* Verify your firewall settings allow access to the validation server
291+
* The editor will attempt to use the provided license key as fallback
292+
293+
| xref:online-api-key-error-disable[Online API Key Error (4xx - Disable)]
294+
| The editor is disabled because the API key could not be validated by the API key validation server [type: +${errorType}${statusMsg}+]
295+
| The editor is disabled because the API key could not be validated by the API key validation server.
296+
a| * Verify that your API key is valid
297+
* Check if your subscription is active
298+
* Visit the link:https://support.tiny.cloud[Support Portal] if the issue persists
299+
|===
300+
301+
=== Detailed Error Descriptions
302+
303+
[[invalid-license-key]]
304+
==== Invalid license key (General)
305+
The provided license key is not recognized as a valid {productname} license key. This can occur if the key is malformed, expired, or doesn't match your deployment type. For self-hosted installations, ensure you're using a valid T8LK-prefixed license key. Visit the link:https://www.tiny.cloud/my-account[Tiny Cloud Account] to verify your license key.
306+
307+
[[hard-expired]]
308+
==== Hard expired
309+
The license key has reached its expiration date and is no longer valid for use. The editor will be disabled until a new valid license key is provided. For time-based keys, refer to the <<License Key Types>> section. To renew your license, visit link:https://www.tiny.cloud/pricing[Tiny Cloud Pricing] or contact your account manager.
310+
311+
[[soft-expired]]
312+
==== Soft expired
313+
The license key has reached its initial expiration date but is still within the grace period. The editor will continue to function but will be disabled when the grace period ends. See the <<License States>> section for more information about grace periods. Contact your account manager or visit link:https://www.tiny.cloud/my-account[Tiny Cloud Account] to renew your license before the grace period expires.
314+
315+
[[invalid-editor-version]]
316+
==== Invalid editor version
317+
The license key is not compatible with the current version of {productname}. This typically occurs with version-locked keys when using a different patch version. Visit link:https://www.tiny.cloud/docs/tinymce/latest/[TinyMCE Documentation] to check your editor version. Review the <<License Key Types>> section about version-locked keys. If you're upgrading from {productname} 7, visit link:https://www.tiny.cloud/my-account[Tiny Cloud Account] to obtain a new license key or see <<If im upgrading from TinyMCE 7 how do I get a TinyMCE 8 license key?>> for guidance. For new licenses, visit link:https://www.tiny.cloud/pricing[Tiny Cloud Pricing].
318+
319+
[[no-license-key]]
320+
==== No license key
321+
No license key has been provided in the {productname} configuration. For self-hosted installations, you must either provide a valid commercial license key or explicitly opt into GPL usage. See the <<Setting up the Commercial License Key Manager>> section for implementation details and the "<<What does the GPL license mean?>>" section for GPL licensing information.
322+
323+
[[invalid-plugin]]
324+
==== Invalid plugin
325+
The attempted use of a premium plugin without a valid commercial license key. This occurs when trying to use premium features with a GPL license or an invalid commercial license. Review your subscription details in your link:https://www.tiny.cloud/my-account[Tiny Cloud Account] to verify plugin access. See the <<License Types and Deployment Options>> section for more information about license types and plugin access.
326+
327+
[[online-api-key-error-fallback]]
328+
==== Online API Key Error (5xx - Fallback)
329+
A server-side error occurred while validating the API key. The editor will attempt to use the provided license key as a fallback mechanism. This typically occurs in hybrid deployments - see the <<Deployment Types>> section for proper configuration. If the issue persists, visit link:https://support.tiny.cloud[Support Portal] for assistance.
330+
331+
[[online-api-key-error-disable]]
332+
==== Online API Key Error (4xx - Disable)
333+
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.
334+
335+
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)