What is the structure of the plugins?

Each plugin for the server version is a folder with files. To use the plugins with the desktop version you need to pack this folder into a single zip archive file (see the Installing plugins to document editors section for more information on how to add plugins to the editors).

The folder must contain the following files:

  • config.json - plugin configuration file containing the information about the main plugin data needed to register the plugin in the editors.
  • index.html - plugin entry point, connecting the config.json and pluginBase.js (the base file needed for work with plugins) files.
  • pluginCode.js - the plugin code file itself containing the JavaScript code of the plugin you want to connect to the editors.