Get Started
Plugins
Macros
More information

PasteText

PasteText(text)

Pastes text into the document.

Parameters:

Name Type Description
text string

A string value that specifies the text to be pasted into the document.

Returns:

This method doesn't return any data.

Example

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