You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If using {productname} 7.0.1 or earlier, please refer to link:https://www.tiny.cloud/docs/tinymce/6/bundling-plugins/[Bundling {productname} plugins using module loading] from the {productname} v6 documentation guide.
@@ -88,6 +85,27 @@ When using `+import tinymce from 'tinymce'+`, import only the individual premium
88
85
89
86
After installing the `+tinymce-premium+` package, you need to configure the plugins in your editor. There are two main approaches:
90
87
88
+
=== License key manager
89
+
90
+
[IMPORTANT]
91
+
====
92
+
Always include the `+licensekeymanager+` plugin when using premium plugins with a commercial license. The editor will not function properly without it. For more information, see: xref:license-key.adoc[License Key].
@@ -145,25 +164,4 @@ The `+external_plugins+` option supports three URL formats:
145
164
For more information, see: xref:editor-important-options.adoc#external_plugins[`+external_plugins+` configuration option].
146
165
====
147
166
148
-
=== License key manager
149
-
150
-
[IMPORTANT]
151
-
====
152
-
Always include the `+licensekeymanager+` plugin when using premium plugins with a commercial license. The editor will not function properly without it. For more information, see: xref:license-key.adoc[License Key].
Copy file name to clipboardExpand all lines: modules/ROOT/pages/license-key.adoc
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,27 +37,29 @@ The commercial license key manager is available:
37
37
The following setup steps are **required** for the editor to function with commercial license keys. The editor will not work without proper license key manager configuration.
38
38
====
39
39
40
-
If hosting {productname} standalone, for example, in a `/public` folder, **ensure** the `+licensekeymanager+` folder is included in the `+plugins+` folder with all of the other plugins. The editor will not function without this.
40
+
== Considerations when hosting vs bundling
41
41
42
-
If bundling {productname} as part of an application **ensure** the `+licensekeymanager/index.js+` file is imported, otherwise the editor will not function without this.
42
+
* If **hosting** {productname} standalone, for example, in a `/public` folder, **ensure** the `+licensekeymanager+` folder is included in the `+plugins+` folder with all of the other plugins. The editor will not function without this.
43
+
* If **bundling** {productname} as part of an application **ensure** the `+licensekeymanager/index.js+` file is imported, otherwise the editor will not function without this.
43
44
44
-
.Example importing the License Key Manager in a bundled application
45
-
+
46
45
When using the `+tinymce+` NPM package with premium plugins from ZIP:
46
+
47
47
[source,javascript]
48
48
----
49
49
import 'tinymce/plugins/licensekeymanager';
50
50
----
51
-
+
51
+
52
52
When using the `+tinymce-premium+` NPM package (recommended):
The `+licensekeymanager+` plugin is included in the `+tinymce-premium+` package. The `+tinymce-premium+` package version aligns with the `+tinymce+` package version (e.g., both at 8.3.0).
61
+
* The `+licensekeymanager+` plugin is included in the `+tinymce-premium+` package.
62
+
* The `+tinymce-premium+` package version must match the `+tinymce+` package version (e.g., both at 8.3.0).
* For {productname} 8.3, the `+tinymce-premium+` package is only published to the NPM registry. Other package manager registries (Packagist/Composer, NuGet etc.) may be considered for future releases.
@@ -99,7 +101,7 @@ For framework-specific integration guides, see:
99
101
100
102
== Include the {productname} script
101
103
102
-
Include the following line of code in the `+<head>+` of an HTML page:
104
+
Include the following line of code in the `+<head>+` of a HTML page:
0 commit comments