Firefox - onBeforeEditStart event issue

Hello,

I am trying to use the inline edition. I would like to activate the inline edition only when the user click on a specific zone. So I am using the ‘onBeforeEditStart’ event. The problem is that I need the mouseEvent that trigerred the event. Unfortunately it is not working as expected on firefox.

Here is a repro http://snippet.dhtmlx.com/0e5f83d6e where you can’t edit inline on firefox 65.0 while on chrome 71.0.3578.98 you will be able to edit inline if you click on the red box.

Is there a workaround ?

Hello Ouassim,
Looks like, Firefox doesn’t have mouse event, so that thing will not work in Firefox the same way:

You need to use onclick function and update the inline editor event variable. Here is an example:
http://snippet.dhtmlx.com/9e9af025c