Try now New API BETA
Try out the new view and capabilities of the API documentation
Pastes text into the document.
A string value that specifies the text to be pasted into the document.
window.Asc.plugin.executeMethod ("PasteText", ["ONLYOFFICE for developers"]);