|
1 | | -= Quick start: {productname} with {cloudname} |
| 1 | += Quick start: {productname} from {cloudname} |
2 | 2 | :navtitle: Quick start: Cloud |
3 | 3 | :description_short: Setup a basic {productname} {productmajorversion} editor using the {cloudname}. |
4 | 4 | :description: Get an instance of {productname} {productmajorversion} up and running using the {cloudname}. |
5 | 5 | :keywords: tinymce, script, textarea |
6 | 6 | :productSource: cloud |
7 | 7 |
|
8 | | -== Install {productname} using the {cloudname} |
9 | 8 |
|
10 | 9 | {productname} {productmajorversion} is a powerful and flexible rich text editor that can be embedded in web applications. This quick start covers how to add a {productname} editor to a web page using the {cloudname}. |
11 | 10 |
|
12 | 11 | include::partial$misc/admon-account-creation-and-social-option.adoc[] |
13 | 12 |
|
14 | 13 | == Include the {productname} script |
15 | 14 |
|
16 | | -Include the following line of code in the `+<head>+` of a HTML page: |
| 15 | +Include the following script tag in the `+<head>+` of a HTML file: |
17 | 16 |
|
18 | 17 | [source,html,subs="attributes+"] |
19 | 18 | ---- |
20 | 19 | <script src="{cdnurl}" referrerpolicy="origin" crossorigin="anonymous"></script> |
21 | 20 | ---- |
22 | 21 |
|
23 | | -== Initialize {productname} as part of a web form |
| 22 | +== Initialize {productname} |
24 | 23 |
|
25 | 24 | include::partial$install/initialize-editor-cloud.adoc[] |
26 | 25 |
|
27 | | -Adding this content to an HTML file and opening it in a web browser will load a {productname} editor, such as: |
| 26 | +Adding this content to the HTML file and opening it in a web browser will load a {productname} editor, such as: |
28 | 27 |
|
29 | 28 | liveDemo::default[] |
30 | 29 |
|
31 | | -== Update the "no-api-key" placeholder with your API key |
| 30 | +== Update the "no-api-key" placeholder |
32 | 31 |
|
33 | | -To remove the notice: |
| 32 | +Update the `+no-api-key+` placeholder in the source script URL (`+<script src=https://.../no-api-key/tinymce/{productmajorversion}/tinymce.min.js+/>`) with your {cloudname} API key, which is created when signing up to the link:{accountsignup}/[{cloudname}]. |
| 33 | + |
| 34 | +Providing a valid API key also removes the notice: |
34 | 35 |
|
35 | 36 | [WARNING] |
36 | 37 | ==== |
37 | 38 | **This domain is not registered with {cloudname}. Please see the quick start guide or create an account.** |
38 | 39 | ==== |
39 | 40 |
|
40 | | -Update the `+no-api-key+` placeholder in the source script (`+<script src=...+`) with your {cloudname} API key, which is created when signing up to the link:{accountsignup}/[{cloudname}]. |
41 | | - |
42 | 41 | Signing up for a {cloudname} API key will also provide a trial of the xref:plugins.adoc#premium-plugins[Premium Plugins]. |
43 | 42 |
|
44 | 43 | include::partial$install/save-content.adoc[] |
|
0 commit comments