TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

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"]);