Plugins

Description

The plugins section allows to connect the special add-ons to your Document Server installation which will help you add additional features to document editors.

Parameters
Name Description Type Example
Defines the list of absolute paths to the plugin configuration files (config.json), which is defined relatively to the url path. array of string
Defines the absolute path to the directory where the plugins are stored. Deprecated since version 4.3, please use the absolute paths in pluginsData field. string "http://example.com/plugins/"
Example
var docEditor = new DocsAPI.DocEditor("placeholder", {
    "editorConfig": {
        "plugins": {
             "pluginsData": [
                 "http://example.com/plugin1/config.json",
                 "http://example.com/plugin2/config.json",
                 ...
             ]
        },
        ...
    },
    ...
});

Where the example.com is the name of the the server where document manager and document storage service are installed and the plugins are placed. See the How it works section to find out more on Document Server service client-server interactions.

If you have any further questions, please contact us at integration@onlyoffice.com.