window.Asc.plugin.init = function () {
window.Asc.plugin.event_onDocumentContentReady = function () {
var oProperties = {
"searchString": "ONLYOFFICE",
"replaceString": "ONLYOFFICE is cool",
"matchCase": false
};
window.Asc.plugin.executeMethod("SearchAndReplace", [oProperties], function () {
window.Asc.plugin.executeCommand("close", "");
});
};
};
Is there any way to send status back to editor so i can check if “SearchAndReplace” is completed or not??
I want to show custom loader in reactjs until the “SearchAndReplace” is completed in docx.