Replaces the current word with the specified string.
Name | Type | Default | Description |
replaceString | string | Replacement string. |
|
type | TextPartType | "entirely" | Specifies if the whole word or only its part will be replaced. |
window.Asc.plugin.executeMethod ("ReplaceCurrentWord", ["ONLYOFFICE", "entirely"]);