Do you want to: Suggest a feature / Report a bug / Ask a how-to question
For feature suggestions, describe the result you would like to achieve in detail:
For bug reports, provide the steps to reproduce and if possible a minimal demo of the problem:
I’m trying to call executeMethod onDocumentStateChange using the below code snippet but the callback for executeMethod never works nor any error comes.
Note: I’m using DocumentEditor component from @onlyoffice/document-editor-react module.
var connector = docEditor.createConnector();
connector.connect();
connector.executeMethod(“GetAllContentControls”,null,function(data) {
alert(“callback called!!”);
for (var i = 0; i < data.length; i++) {
console.log(data[i].Tag);
}
});
Document Server version: 7.2.2
Browser version: Chrome 109.0
Attach logs if possible