init

function init(text: string): void

Description

The function called when the plugin is launched. It defines the data sent to the plugin describing what actions are to be performed and how they must be performed.

Parameters

textstring

Defines the data parameter that depends on the {@link /plugin/config#initDataType initDataType} setting specified in the config.json file.

Returns

void

Get Help

  • If you have any questions about ONLYOFFICE Docs, 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).