Skip to content

Commit dc658cf

Browse files
committed
DOC-3183: Include license_key and api_key in the example and instructions
1 parent cd023b0 commit dc658cf

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

modules/ROOT/partials/integrations/jquery-quick-start.adoc

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,33 @@ endif::[]
9999
in the jQuery prefix, and any other settings are defined in the object passed to
100100
the `tinymce` method.
101101
+
102+
ifeval::["{productSource}" == "cloud"]
103+
[source,html]
104+
----
105+
<script>
106+
$('textarea#tiny').tinymce({
107+
height: 500,
108+
api_key: '<your api key>',
109+
/* other settings... */,
110+
});
111+
</script>
112+
----
113+
. Update the `+api_key+` property to include your link:{accountsignup}/[{cloudname} API key].
114+
endif::[]
115+
116+
ifeval::["{productSource}" == "package-manager"]
102117
[source,html]
103118
----
104119
<script>
105-
$('textarea#tiny').tinymce({ height: 500, /* other settings... */ });
120+
$('textarea#tiny').tinymce({
121+
height: 500,
122+
license_key: '<your license key>',
123+
/* other settings... */,
124+
});
106125
</script>
107126
----
127+
. Update the `+license_key+` property and include your xref:license-key.adoc[License Key].
128+
endif::[]
108129

109130
== Example jQuery integration
110131

@@ -128,6 +149,7 @@ ifeval::["{productSource}" == "package-manager"]
128149
<script>
129150
$('textarea#tiny').tinymce({
130151
height: 500,
152+
license_key: '<your-license-key>',
131153
menubar: false,
132154
plugins: [
133155
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'preview',
@@ -169,6 +191,7 @@ ifeval::["{productSource}" == "cloud"]
169191
<script>
170192
$('textarea#tiny').tinymce({
171193
height: 500,
194+
api_key: '<your api key>',
172195
menubar: false,
173196
plugins: [
174197
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'preview',

0 commit comments

Comments
 (0)