A hybrid deployment of {cloudname} allows the loading of premium plugins in a self-hosted environment. Download and install the {productname} Community edition to get started.
Signing up for a free API key provides entitlements to the premium Image Editing plugin. A {cloudname} image proxy server must already be configured. Premium plugins can be purchased at any time once the API key has been set up.
Add the following script in the webpage once the script tag to load {productname} has been specified. Be sure to substitute 'no-api-key' with your api key.
<script src="https://cdn.tiny.cloud/1/no-api-key/tinymce/{productmajorversion}/plugins.min.js" referrerpolicy="origin" crossorigin="anonymous"></script>|
Note
|
It may take up to 30 minutes for the purchased plugin to be available to {productname}. Clear the browser’s cache. |
Extend the {productname} configuration to include any additional purchased plugins and associated toolbar and menu items. Refer to the following enablement guides for more information:
The following is a complete example, where:
-
The {cloudname}
API keyhas the valueno-api-key. -
The {cloudname} has the Spell Checker plugin enabled.
<html>
<head>
<script src="https://your_server/tinymce.min.js"></script>
<script src="https://cdn.tiny.cloud/1/no-api-key/tinymce/{productmajorversion}/plugins.min.js" referrerpolicy="origin" crossorigin="anonymous"></script>
</head>
<body>
<textarea><p>test textarea</p></textarea>
<script>
tinymce.init({
selector: 'textarea',
height: 500,
plugins: [
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'preview', 'anchor',
'pagebreak', 'tinymcespellchecker'
]
});
</script>
</body>
<html>Ensure that the following URLs are accessible via this proxy if the network has a forward proxy that controls access to the internet.
-
All URLs where the editor is deployed.
-
All URLs where the plugins are deployed.
Ensure the tiny-api-key and tinymce-api-key headers are retained while requesting the list of above URLs.