diff --git a/modules/ROOT/images/onboarding/onboarding-finish-setting-up-dialog.png b/modules/ROOT/images/onboarding/onboarding-finish-setting-up-dialog.png new file mode 100644 index 0000000000..60dc60e7a8 Binary files /dev/null and b/modules/ROOT/images/onboarding/onboarding-finish-setting-up-dialog.png differ diff --git a/modules/ROOT/images/onboarding/onboarding-no-api-key-notification.png b/modules/ROOT/images/onboarding/onboarding-no-api-key-notification.png new file mode 100644 index 0000000000..5d07a4dbce Binary files /dev/null and b/modules/ROOT/images/onboarding/onboarding-no-api-key-notification.png differ diff --git a/modules/ROOT/pages/7.8.0-release-notes.adoc b/modules/ROOT/pages/7.8.0-release-notes.adoc index 6b4b2d0bbc..a9bf1c1478 100644 --- a/modules/ROOT/pages/7.8.0-release-notes.adoc +++ b/modules/ROOT/pages/7.8.0-release-notes.adoc @@ -257,14 +257,6 @@ tinymce.init({
---- -// === New `onboarding` option -// // #TINY-11931 - -// {productname} {release-version} introduces a new `+onboarding+` option to enhance the developer experience during the 14-day trial period. This option controls the display of a cloud promotion banner highlighting paid features available during the trial. The banner is automatically hidden when the trial ends or when the editor is correctly configured, ensuring a smoother and less intrusive setup experience. - -// For more information, see xref:promotions.adoc#onboarding[onboarding]. - - [[bug-fixes]] == Bug fixes diff --git a/modules/ROOT/pages/7.9.0-release-notes.adoc b/modules/ROOT/pages/7.9.0-release-notes.adoc index 2516313b36..45128fae57 100644 --- a/modules/ROOT/pages/7.9.0-release-notes.adoc +++ b/modules/ROOT/pages/7.9.0-release-notes.adoc @@ -161,6 +161,13 @@ Previously, {productname} did not offer a separate `disc` styling option for uno ---- +=== New `onboarding` option +// #TINY-11931 + +{productname} {release-version} introduces a new `+onboarding+` option to enhance the developer experience during the 14-day trial period. This option controls the display of a cloud promotion banner highlighting paid features available during the trial. The banner is automatically hidden when the trial ends or when the editor is correctly configured, ensuring a smoother and less intrusive setup experience. + +For more information, see xref:promotions.adoc#onboarding[onboarding]. + [[changes]] == Changes diff --git a/modules/ROOT/pages/changelog.adoc b/modules/ROOT/pages/changelog.adoc index d20905c04b..f059f8eae2 100644 --- a/modules/ROOT/pages/changelog.adoc +++ b/modules/ROOT/pages/changelog.adoc @@ -9,6 +9,8 @@ NOTE: This is the {productname} Community version changelog. For information abo === Added * Added new `disc` style option for unordered lists. // #TINY-12015 +* New `onboarding` option. +// #TINY-11931 === Improved * The resize cursor now points in the correct direction for each resize mode. Patch contributed by link:https://github.com/daniloff200[daniloff200]. @@ -49,8 +51,6 @@ NOTE: This is the {productname} Community version changelog. For information abo // #TINY-11748 * New `extended_mathml_attributes` and `extended_mathml_elements` options. // #TINY-11756 -* New `onboarding` option. -// #TINY-11931 === Improved * Focus outline was misaligned with comment card border on saving an edit. diff --git a/modules/ROOT/pages/cloud-troubleshooting.adoc b/modules/ROOT/pages/cloud-troubleshooting.adoc index 5c60dcf7d7..14a059d2f1 100644 --- a/modules/ROOT/pages/cloud-troubleshooting.adoc +++ b/modules/ROOT/pages/cloud-troubleshooting.adoc @@ -8,63 +8,86 @@ When {cloudname} detects a problem, it will show an editor notification containi NOTE: The wording of the notifications shown here may differ from the actual notifications from {cloudname}. ''' - [[invalid-api-key-cloud-troubleshooting]] == Invalid API Key [[A-valid-API-key-is-required-to-continue-using-TinyMCE.-Please-alert-the-admin-to-check-the-current-API-key]] === "A valid API key is required to continue using {productname}. **Please alert the admin** to check the current API key. xref:invalid-api-key.adoc[Click here to learn more.]" -==== Cause "No API Key" +==== Cause + +This notification is shown when either: + +* An `+apiKey+` is not provided in the script tag, +* An empty or missing `+apiKey+` is provided, or +* The `+apiKey+` provided cannot be found on the {cloudname} server. -This notification is *only shown* when either: +The `+apiKey+` must be: -* An `+apiKey+` is not provided in the script tag. -* `+no-api-key+` is provided as the API key. +* An exact length, +* comprised of certain characters, and +* created with a {cloudname} account on the link:{accountsignup}/[{accountpage} page]. For example: [source,html,subs="attributes+"] ---- - + ---- +In this case, the editor will be in a **read-only** state, and a notification appears stating: **"A valid API key is required to continue using TinyMCE. Please alert the admin to check the current API key. Click here to learn more."** + ==== Solution -Update the `+src+` URL to include your (website or application developer's) {cloudname} API Key. Your API key should replace the string `+no-api-key+`. +To resolve this issue: +. Update the `+src+` URL to include your (website or application developer's) {cloudname} API Key, by replacing the placeholder `+no-api-key+` with your actual API key. ++ For example: if your API is `+abcd1234+`: - ++ [source,html,subs="attributes+"] ---- ---- ++ +. Check the `+apiKey+` provided in the script tag: +* Remove any leading or trailing spaces. +* Remove any other characters that are not in your `apiKey`. If you are using variable substitution, ensure that the variable is substituting properly. +* Ensure the `apiKey+` matches the API key shown at {accountpageurl}. ++ +. If you do not have an API key, or need to retrieve your existing key, visit: link:{accountsignup}/[{cloudname}]. -To retrieve your API key, or to sign up for an API key, visit: link:{accountsignup}/[{cloudname}]. +[NOTE] +Visit our xref:invalid-api-key.adoc[Invalid API key] page for more information on how to fix an `invalid API key` issue with {productname}. -NOTE: Visit our xref:invalid-api-key.adoc[Invalid API key] page for more information on how to fix a `invalid API key` with {productname}. +''' -==== Cause "Invalid API Key" +[[no-api-key-cloud-troubleshooting]] +== No API Key -This notification is shown when the API key provided cannot be found on the {cloudname} server. +[[A-valid-API-key-is-required-to-continue-using-TinyMCE.]] +=== "A valid API key is required to continue using {productname}." (Console message) -The `+apiKey+` must be: +==== Cause -* An exact length, -* comprised of certain characters, and -* created with a {cloudname} account on the link:{accountsignup}/[{accountpage} page]. +When `+no-api-key+` is set as the `+apiKey+` the editor will be in a **read-only** state, and the user will see a **"Finish setting up"** dialog prompting them to add a valid API key, configure their domain, and explore premium features. + +image:onboarding/onboarding-finish-setting-up-dialog.png[onboarding finish setting up dialog, width=500, height=auto] ==== Solution -Check the `apiKey` provided in the script tag: +. Update the `+src+` URL to include your (website or application developer's) {cloudname} API Key, by replacing the placeholder `+no-api-key+` with your actual API key. -* Remove any leading or trailing spaces -* Remove any other characters that are not in your `apiKey`. If you are using variable substitution, ensure that the variable is substituting properly -* Ensure the `apiKey` matches the API key shown at {accountpageurl}. +For example: if your API is `+abcd1234+`: -NOTE: Visit our xref:invalid-api-key.adoc[Invalid API key] page for more information on how to fix a `invalid API key` with {productname}. +[source,html,subs="attributes+"] +---- + +---- -''' +To retrieve your API key, or to sign up for an API key, visit: link:{accountsignup}/[{cloudname}]. + +'''' [[domain-not-registered]] == Domain Not Registered diff --git a/modules/ROOT/pages/export-to-pdf-with-jwt-authentication-nodejs.adoc b/modules/ROOT/pages/export-to-pdf-with-jwt-authentication-nodejs.adoc index cc93a3a11d..5bfcedbf24 100644 --- a/modules/ROOT/pages/export-to-pdf-with-jwt-authentication-nodejs.adoc +++ b/modules/ROOT/pages/export-to-pdf-with-jwt-authentication-nodejs.adoc @@ -29,7 +29,7 @@ Inside the `public` folder where you created the `index.html` file add the HTML