ONLYOFFICE Docs is a free collaborative online office suite comprising viewers and editors for texts, spreadsheets and presentations, forms and PDF, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
In Presentation mode, the method can be executed normally when no ppt is displayed. Once the ppt is played, the ppt function is displayed, or the connector.callCommand will not execute the content in the method. The same goes for connector.executeMethod(). What is the reason for this?
This issue is unique.
Operating System of DocumentServer
Docker
Version information
7.5.0.125
Expected Behavior
var connector = docEditor.createConnector()
Asc.scope.text = "Hello world!"; connector.callCommand(function() { var oDocument = Api.GetDocument(); var oParagraph = Api.CreateParagraph(); oParagraph.AddText(Asc.scope.text); oDocument.InsertContent([oParagraph]);
}, function() { console.log("callback command"); });
connector.executeMethod("SetFormValue",[forms[i]["InternalId"],"OnlyOffice BANK"],null); Presentation
Actual Behavior
In Presentation mode, the method can be executed normally when no ppt is displayed. Once the ppt is played, the ppt function is displayed, or the connector.callCommand will not execute the content in the method. The same goes for connector.executeMethod(). What is the reason for this?
Reproduction Steps
Show the ppt, finish the show after execution
Additional information
Google Chrome