InputText
Inserts text into the document.
Parameters:
Name |
Type |
Description |
text |
string
|
A string value that specifies the text to be inserted into the document. |
textReplace |
string
|
A string value that specifies the text to be replaced with a new text. |
Returns:
-
This method doesn't return any data.
Example
Copy code
window.Asc.plugin.executeMethod("InputText", ["ONLYOFFICE Plugins", "ONLYOFFICE for developers"]);