VizLib advanced text object and my own extension navigate to links even in edit mode
I have a KPI extension, that basically has a "go to sheet" when you click it, ... it works but also works in editor mode. I found a similar thing happening with the VIzLib advanced text object. If you add an action of a sheet, and left-click the object in edit mode it will jump to the sheet where the link points.
I have a workaround to right-click my objects that have links , but this isn't very ideal.
I've taken some code from an extension that is supposed to only cause a link "goto" to navigate when in analysis mode, i.e. not in "EDIT" mode based on the qlik.navigation.getMode()