Do you want to: Ask a how-to question
For feature suggestions, describe the result you would like to achieve in detail:
I want to know what type of eventName the attachEvent function in the only office spreadsheet API is and what events it supports.
For bug reports, provide the steps to reproduce and if possible a minimal demo of the problem:
Community Server/Control Panel version: 8.2.22
Type of installation of Workspace (docker, deb/rpm, exe, please point us to the installation guide that you used as well):
OS: win 10
Browser version: chrome 131.0.6778.265
Additional information:
The type of the current eventName parameter is marked as string in the document.
I’d like to bring some clarifications on attachEvent method – basically, this method for each editor already demonstrates the event that can be utilized:
attachEvent for text document editor can only use asc_onHyperlinkClick: attachEvent | ONLYOFFICE
attachEvent for presentation editor can only use the same asc_onHyperlinkClick: attachEvent | ONLYOFFICE
Other than that, they cannot utilize any other plugin event. I was incorrect mentioning plugin events here:
Answering this question now – attachEvent for Office API (all links to the variants for each editor I’ve mentioned above) cannot work with plugin events, so they are not the same.
Please accept my sincere apologies for confusion. We’ll update descriptions of each attachEvent method to make it more clearer towards the understanding of their capabilities.