Skip to content

Commit 9c2eab4

Browse files
DOC-3215: Docs changes for new onboarding feature. (#3726)
* DOC-3215: Docs changes for new onboarding feature. * Update modules/ROOT/pages/cloud-troubleshooting.adoc * Update modules/ROOT/pages/cloud-troubleshooting.adoc * Update modules/ROOT/partials/configuration/onboarding.adoc * DOC-3151: coipy edits, and changes. * DOC-3151: Refine cloud troubleshooting documentation for invalid API key errors. * DOC-3151: Remove trail-explore-features.png file. * Update modules/ROOT/pages/cloud-troubleshooting.adoc Co-authored-by: shirqa <[email protected]> * DOC-3151: fix level heading. --------- Co-authored-by: shirqa <[email protected]>
1 parent 4e8bdce commit 9c2eab4

19 files changed

+70
-48
lines changed
613 KB
Loading
229 KB
Loading

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -257,14 +257,6 @@ tinymce.init({
257257
</p>
258258
----
259259

260-
// === New `onboarding` option
261-
// // #TINY-11931
262-
263-
// {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.
264-
265-
// For more information, see xref:promotions.adoc#onboarding[onboarding].
266-
267-
268260
[[bug-fixes]]
269261
== Bug fixes
270262

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,13 @@ Previously, {productname} did not offer a separate `disc` styling option for uno
161161
</ul>
162162
----
163163

164+
=== New `onboarding` option
165+
// #TINY-11931
166+
167+
{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.
168+
169+
For more information, see xref:promotions.adoc#onboarding[onboarding].
170+
164171
[[changes]]
165172
== Changes
166173

modules/ROOT/pages/changelog.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ NOTE: This is the {productname} Community version changelog. For information abo
99
=== Added
1010
* Added new `disc` style option for unordered lists.
1111
// #TINY-12015
12+
* New `onboarding` option.
13+
// #TINY-11931
1214

1315
=== Improved
1416
* 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
4951
// #TINY-11748
5052
* New `extended_mathml_attributes` and `extended_mathml_elements` options.
5153
// #TINY-11756
52-
* New `onboarding` option.
53-
// #TINY-11931
5454

5555
=== Improved
5656
* Focus outline was misaligned with comment card border on saving an edit.

modules/ROOT/pages/cloud-troubleshooting.adoc

Lines changed: 45 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,63 +8,86 @@ When {cloudname} detects a problem, it will show an editor notification containi
88
NOTE: The wording of the notifications shown here may differ from the actual notifications from {cloudname}.
99

1010
'''
11-
1211
[[invalid-api-key-cloud-troubleshooting]]
1312
== Invalid API Key
1413

1514
[[A-valid-API-key-is-required-to-continue-using-TinyMCE.-Please-alert-the-admin-to-check-the-current-API-key]]
1615
=== "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.]"
1716

18-
==== Cause "No API Key"
17+
==== Cause
18+
19+
This notification is shown when either:
20+
21+
* An `+apiKey+` is not provided in the script tag,
22+
* An empty or missing `+apiKey+` is provided, or
23+
* The `+apiKey+` provided cannot be found on the {cloudname} server.
1924

20-
This notification is *only shown* when either:
25+
The `+apiKey+` must be:
2126

22-
* An `+apiKey+` is not provided in the script tag.
23-
* `+no-api-key+` is provided as the API key.
27+
* An exact length,
28+
* comprised of certain characters, and
29+
* created with a {cloudname} account on the link:{accountsignup}/[{accountpage} page].
2430

2531
For example:
2632

2733
[source,html,subs="attributes+"]
2834
----
29-
<script src="{cdnurl}" referrerpolicy="origin"></script>
35+
<script src="https://cdn.tiny.cloud/1/abcd1234/tinymce/{productmajorversion}/tinymce.min.js" referrerpolicy="origin"></script>
3036
----
3137

38+
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."**
39+
3240
==== Solution
3341

34-
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+`.
42+
To resolve this issue:
3543

44+
. 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.
45+
+
3646
For example: if your API is `+abcd1234+`:
37-
47+
+
3848
[source,html,subs="attributes+"]
3949
----
4050
<script src="https://cdn.tiny.cloud/1/abcd1234/tinymce/{productmajorversion}/tinymce.min.js" referrerpolicy="origin"></script>
4151
----
52+
+
53+
. Check the `+apiKey+` provided in the script tag:
54+
* Remove any leading or trailing spaces.
55+
* Remove any other characters that are not in your `apiKey`. If you are using variable substitution, ensure that the variable is substituting properly.
56+
* Ensure the `apiKey+` matches the API key shown at {accountpageurl}.
57+
+
58+
. If you do not have an API key, or need to retrieve your existing key, visit: link:{accountsignup}/[{cloudname}].
4259

43-
To retrieve your API key, or to sign up for an API key, visit: link:{accountsignup}/[{cloudname}].
60+
[NOTE]
61+
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}.
4462

45-
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}.
63+
'''
4664

47-
==== Cause "Invalid API Key"
65+
[[no-api-key-cloud-troubleshooting]]
66+
== No API Key
4867

49-
This notification is shown when the API key provided cannot be found on the {cloudname} server.
68+
[[A-valid-API-key-is-required-to-continue-using-TinyMCE.]]
69+
=== "A valid API key is required to continue using {productname}." (Console message)
5070

51-
The `+apiKey+` must be:
71+
==== Cause
5272

53-
* An exact length,
54-
* comprised of certain characters, and
55-
* created with a {cloudname} account on the link:{accountsignup}/[{accountpage} page].
73+
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.
74+
75+
image:onboarding/onboarding-finish-setting-up-dialog.png[onboarding finish setting up dialog, width=500, height=auto]
5676

5777
==== Solution
5878

59-
Check the `apiKey` provided in the script tag:
79+
. 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.
6080

61-
* Remove any leading or trailing spaces
62-
* Remove any other characters that are not in your `apiKey`. If you are using variable substitution, ensure that the variable is substituting properly
63-
* Ensure the `apiKey` matches the API key shown at {accountpageurl}.
81+
For example: if your API is `+abcd1234+`:
6482

65-
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}.
83+
[source,html,subs="attributes+"]
84+
----
85+
<script src="https://cdn.tiny.cloud/1/abcd1234/tinymce/{productmajorversion}/tinymce.min.js" referrerpolicy="origin"></script>
86+
----
6687

67-
'''
88+
To retrieve your API key, or to sign up for an API key, visit: link:{accountsignup}/[{cloudname}].
89+
90+
''''
6891

6992
[[domain-not-registered]]
7093
== Domain Not Registered

modules/ROOT/pages/export-to-pdf-with-jwt-authentication-nodejs.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Inside the `public` folder where you created the `index.html` file add the HTML
2929
<head>
3030
<title>TinyMCE with Export to PDF</title>
3131
<script
32-
src="https://cdn.tiny.cloud/1/YOUR-API-KEY/tinymce/7/tinymce.min.js"
32+
src="https://cdn.tiny.cloud/1/no-api-key/tinymce/7/tinymce.min.js"
3333
referrerpolicy="origin">
3434
</script>
3535
<script>

modules/ROOT/pages/export-to-pdf-with-jwt-authentication-php.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Inside the `public` folder where you created the `index.html` file add the HTML
2828
<head>
2929
<title>TinyMCE with PDF Export</title>
3030
<script
31-
src="https://cdn.tiny.cloud/1/YOUR-API-KEY/tinymce/7/tinymce.min.js"
31+
src="https://cdn.tiny.cloud/1/no-api-key/tinymce/7/tinymce.min.js"
3232
referrerpolicy="origin">
3333
</script>
3434
<script>

modules/ROOT/pages/export-to-word-with-jwt-authentication-nodejs.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Inside the `public` folder where you created the `index.html` file add the HTML
2929
<head>
3030
<title>TinyMCE with Export to Word</title>
3131
<script
32-
src="https://cdn.tiny.cloud/1/YOUR-API-KEY/tinymce/7/tinymce.min.js"
32+
src="https://cdn.tiny.cloud/1/no-api-key/tinymce/7/tinymce.min.js"
3333
referrerpolicy="origin">
3434
</script>
3535
<script>

modules/ROOT/pages/export-to-word-with-jwt-authentication-php.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Inside the `public` folder where you created the `index.html` file add the HTML
2828
<head>
2929
<title>TinyMCE with Word Export</title>
3030
<script
31-
src="https://cdn.tiny.cloud/1/YOUR-API-KEY/tinymce/7/tinymce.min.js"
31+
src="https://cdn.tiny.cloud/1/no-api-key/tinymce/7/tinymce.min.js"
3232
referrerpolicy="origin">
3333
</script>
3434
<script>

0 commit comments

Comments
 (0)