onClick event not working

(function (window, undefined) {
    window.Asc.plugin.init = function (text) {
        window.Asc.plugin.event_onClick = function event_onClick(options) {
            console.log(options)//not working
        }
        window.Asc.plugin.event_onContextMenuShow = function event_onContextMenuShow(options) {
            console.log(options)//working
        }
        window.Asc.plugin.event_onDocumentContentReady = function event_onDocumentContentReady(options) {
            alert('read')//working
        }
    };
})(window, undefined)

Hello @langziyang
Please do not post the same request in different communication channels. As far as I understand, you have been provided with a sample with possible way to achieve the desired scenario in the Discord channel.
Let’s focus on the situation itself here. Do I understand it right that you are using your self-written plugin in this scenario? I mean that you are not using the connector class to call the methods.

@Alexandre sorry about same request. yes i create own plugin. not use connector

Thank you, we are checking the situation. We will contact you as soon as possible.