Add External TinyMCE Plugins
Where additional customization is required, custom plugins can be loaded into TinyMCE.
Procedure
-
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.
-
Locate the property
externalPluginsand modify the array to customize the external plugin configuration using the following resources:- External Plugins for TinyMCE.
- Create a Plugin for TinyMCE.
- The external plugins customization syntax.
- Connections locations for selectively loading plugins.
Tip: If the external plugin array is empty (externalPlugins: [],), no external plugins will be loaded.Figure 1: Loading an external plugin. The plugin demois 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'] } ], - Continue configuring the Tiny Editors integration or continue with the installation.
