Add External TinyMCE Plugins

Where additional customization is required, custom plugins can be loaded into TinyMCE.

Procedure

  1. Using a plain text editor, open config/config.js in the extracted Tiny Editors for HCL Connections package.
    Note: Use a plain text editor to avoid inserting invalid formatting or symbols into config.js. Do not use a rich text editor such as Microsoft Word for editing configuration files.
  2. Locate the property externalPlugins and modify the array to customize the external plugin configuration using the following resources:
    Tip: If the external plugin array is empty (externalPlugins: [],), no external plugins will be loaded.
    Figure 1: Loading an external plugin. The plugin demo is only loaded for editors in the wikis application excluding the comments section.
    externalPlugins: [
      {
        name: 'demo',
        url: '/connections/resources/web/tiny.demo/plugins/demo/plugin.min.js',
        on: ['wikis']
      }
    ],
  3. Continue configuring the Tiny Editors integration or continue with the installation.