window.Asc.plugin.executeMethod ("PasteText", [args], callback)
Defines the method that allows pasting text into the document.
This method should be used in the following way:
window.Asc.plugin.executeMethod ("PasteText", [text]);
Parameter |
Description |
Type |
Example |
text |
A string value that specifies the text to be pasted into the document. |
string |
"ONLYOFFICE for developers" |
The method returns the undefined value.
window.Asc.plugin.executeMethod("PasteText", ["ONLYOFFICE for developers"]);