window.Asc.plugin.executeMethod("PasteText", [args], callback)

Description

Defines the method that allows pasting text into the document.

Usage

This method should be used in the following way:

window.Asc.plugin.executeMethod("PasteText", [text]);

Where text is a string value that specifies the text to be pasted into the document.

Returns

The method returns the undefined value.

Example
window.Asc.plugin.executeMethod("PasteText", ["ONLYOFFICE for developers"]);