window.Asc.plugin.executeMethod ("InputText", [args], callback)
Defines the method that allows inserting text into the document.
This method should be used in the following way:
window.Asc.plugin.executeMethod ("InputText", [text, textReplace]);
Parameter |
Description |
Type |
Example |
text |
A string value that specifies the text to be inserted into the document. |
string |
"ONLYOFFICE Plugins" |
textReplace |
A string value that specifies the text to be replaced with a new text. |
string |
"ONLYOFFICE for developers" |
The method returns the undefined value.
window.Asc.plugin.executeMethod("InputText", ["ONLYOFFICE Plugins", "ONLYOFFICE for developers"]);