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
Copy file name to clipboardExpand all lines: modules/ROOT/partials/configuration/external_plugins.adoc
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,16 @@
1
1
[[external_plugins]]
2
2
== `+external_plugins+`
3
3
4
-
This option allows a URL based location of plugins to be provided that are outside of the normal {productname} plugins directory.
4
+
This option allows plugins to be loaded from outside the default {productname} plugins directory. {productname} will attempt to load these plugins as usual when starting up, provided the required files exist.
5
5
6
-
{productname} will attempt to load these as per regular plugins when starting up. This option is useful when loading {productname} from a CDN or when the {productname} directory is separate from custom plugins.
6
+
This can be useful when:
7
7
8
-
This value should be set as a JavaScript object that contains a property for each {productname} plugin to be loaded. This property should be named after the plugin and should have a value that contains the location that the plugin that will be loaded from.
8
+
* Using custom plugins.
9
+
* Loading {productname} from a CDN but not the plugins.
10
+
* Loading premium plugins from the tinymce-premium NPM package, without bundling or file stacking.
11
+
* Loading plugins from any location separate to the core {productname} files.
12
+
13
+
This option takes an object which contains `+key-value+` pairs of plugin names and the location their JavaScript file should be loaded from as a URL.
9
14
10
15
The URLs provided can be:
11
16
@@ -22,9 +27,11 @@ The URLs provided can be:
22
27
tinymce.init({
23
28
selector: 'textarea', // change this value according to your HTML
0 commit comments