Using new Inline Edit(GREAT!) along with standard Editor

I have preciously created my own custom LightBox. That all is good. I however want to allow the option for using Inline edit too.
Are there any best suggestions on how to have them co-exist nicely?

If I click/doubleclick now, the custom LightBox is displayed. Any examples on how to turn on/off inlide edit…e.g. toggle?

Hello,
You can have custom lightbox and inline editing. By default inline editing opens after a single click and the lightbox after a double click. So you can edit tasks in the grid using inline editors and double click on the bar in the timeline to open the lightbox.
If you want a switch, you just need to change columns config. Here is an example:
snippet.dhtmlx.com/384d7eb8d

Update:
There is a simpler approach. You can return false in the onBeforeEditStart event handler and the inline editors won’t open:
https://docs.dhtmlx.com/gantt/desktop__inline_editors_ext.html#events:~:text=Events-,onBeforeEditStart,-Arguments%3A

Here is the snippet:
https://snippet.dhtmlx.com/0zvumn6e