Coding Plugin

Develop a plugin. Follow the plugin structure described here.

  • Write code for each plugin type using the corresponding variables, methods and items. Put the scripts into the src folder. Specify the required Plugin interface for each plugin to be embedded in the portal.

    Plugin structure

  • Specify plugin messages that will be returned by the items. Use the appropriate events that will be processed on the portal side.

  • Learn which plugin components can be used for the DocSpace plugin interface and add them to your scripts.

Code samples are available at https://github.com/ONLYOFFICE/docspace-plugins.

Get Help

  • If you have any questions about ONLYOFFICE DocSpace, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).