Skip to content

Latest commit

 

History

History
68 lines (51 loc) · 2.91 KB

File metadata and controls

68 lines (51 loc) · 2.91 KB

Cloud deployment of plugins Only

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.

Step 1: Insert the custom script tag into the webpage

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>

Step 2: Specify purchased TinyMCE plugins and toolbar buttons

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 key has the value no-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>

Step 3: Forward proxy configuration

Ensure that the following URLs are accessible via this proxy if the network has a forward proxy that controls access to the internet.

Ensure the tiny-api-key and tinymce-api-key headers are retained while requesting the list of above URLs.