Skip to content

Commit 42ce924

Browse files
committed
DOC-3329: copy edits, update licensekey.adoc page.
1 parent bde8c19 commit 42ce924

File tree

8 files changed

+19
-16
lines changed

8 files changed

+19
-16
lines changed

modules/ROOT/pages/editor-icons.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
{productname} icons come from icon packs. {productname} includes both community and premium icon packs, but also allows integrators to add custom icons or override {productname} icons with their own.
66

7-
The default icon pack is shipped with {productname} and does not require any configuration, though it must be imported when bundling for deployment:
7+
The default icon pack is shipped with {productname} and does not require any configuration, though it must be imported when bundling for deployment: For example:
88

99
[source,js]
1010
----

modules/ROOT/pages/editor-skin.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
====
99
*Skins vs Content CSS:*
1010
11-
Skins change both the look of {productname}'s UI and the editable area (when the skin includes both `+skin.css+` and `+content.css+` files). The `+content_css+` option only styles the editable area. If both `+skin+` and `+content_css+` are used, `+content_css+` will override the skin's content styles, allowing mixing and matching of UI and content styles.
11+
Skins change the look of both {productname}'s UI and the editable area (when the skin includes both `+skin.css+` and `+content.css+` files). The `+content_css+` option only styles the editable area. If both `+skin+` and `+content_css+` are used, `+content_css+` will override the skin's content styles, allowing mixing and matching of UI and content styles.
1212
====
1313

14-
The default skin does not require any configuration, though it must be imported when bundling for deployment:
14+
The default skin does not require any configuration, though it must be imported when bundling for deployment: For example:
1515

1616
[source,js]
1717
----

modules/ROOT/pages/enhanced-skins-and-icon-packs.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
= Enhanced Skins & Icon Packs
22
:navtitle: Enhanced Skins & Icon Packs
33
:description: Premium skins and icon packs for TinyMCE.
4-
:keywords: skin, skins, icon, icons, material, bootstrap, customize, theme
4+
:keywords: skin, skins, icon, icons, material, bootstrap, customize
55

66
NOTE: Enhanced skins are only available with a link:{pricingpage}/[paid {productname} subscription].
77

modules/ROOT/pages/license-key.adoc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ The commercial license key manager is available:
3131
* in a purchased self-hosted plan - a `licensekeymanager` folder will be present in the `plugins` folder of the {productname} `+.zip+`.
3232
* in a purchased self-hosted addon - a `licensekeymanager` folder will be present in addition to the purchased addon.
3333
* as a standalone addon - a `licensekeymanager` folder will be present.
34+
* in the `+tinymce-premium+` NPM package - the `+licensekeymanager+` plugin is included in the `+tinymce-premium+` package.
3435

3536
[IMPORTANT]
3637
====
@@ -56,10 +57,24 @@ When using the `+tinymce-premium+` NPM package (recommended):
5657
import 'tinymce-premium/plugins/licensekeymanager';
5758
----
5859

60+
When using `+external_plugins+` to load the license key manager from a custom location:
61+
62+
[source,javascript]
63+
----
64+
tinymce.init({
65+
selector: 'textarea',
66+
external_plugins: {
67+
'licensekeymanager': '<path_to_premium_plugins>/licensekeymanager/plugin.min.js'
68+
},
69+
// ... other configuration
70+
});
71+
----
72+
5973
[NOTE]
6074
====
6175
* The `+licensekeymanager+` plugin is included in the `+tinymce-premium+` package.
6276
* The `+tinymce-premium+` package version must match the `+tinymce+` package version (e.g., both at 8.3.0).
77+
* The `+external_plugins+` option allows loading the license key manager from any location, useful when bundling is not available or when lazy-loading plugins. For more information, see: xref:editor-important-options.adoc#external_plugins[`+external_plugins+` configuration option].
6378
====
6479

6580
== License Types and Deployment Options

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ ifeval::["{productSource}" == "package-manager"]
124124
});
125125
</script>
126126
----
127-
. Update the `+license_key+` property and include your xref:license-key.adoc[License Key].
128127
endif::[]
129128

130129
== Example jQuery integration

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,6 @@ export default function App() {
184184
}
185185
----
186186

187-
. Update the `+licenseKey+` option in the editor element and include your xref:license-key.adoc[License Key].
188-
+
189187

190188
endif::[]
191189
ifeval::["{productUse}" == "bundle"]
@@ -265,8 +263,6 @@ export default function BundledEditor(props) {
265263
}
266264
----
267265

268-
. Update the `+licenseKey+` option in the editor element and include your xref:license-key.adoc[License Key].
269-
270266
. Using a text editor, open `+./src/App.jsx+` and replace the contents with:
271267
+
272268
[source,jsx]

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,6 @@ let conf = {
147147
/>
148148
</main>
149149
----
150-
+
151-
. Update the `+licenseKey+` option in the editor element and include your xref:license-key.adoc[License Key].
152150

153151
endif::[]
154152
ifeval::["{productSource}" == "zip"]
@@ -183,8 +181,6 @@ let conf = {
183181
/>
184182
</main>
185183
----
186-
+
187-
. Update the `+licenseKey+` option in the editor element and include your xref:license-key.adoc[License Key].
188184

189185
endif::[]
190186

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,6 @@ ifeval::["{productSource}" != "cloud"]
9898
----
9999
The default {productname} editor will load at this location if the page is opened in a web browser.
100100

101-
+
102-
. Update the `+license-key+` option in the editor element and include your xref:license-key.adoc[License Key].
103-
+
104101
endif::[]
105102

106103
ifeval::["{productSource}" == "cloud"]

0 commit comments

Comments
 (0)