Get currently open main tab from iframe or in plugin

Is there an option to detect clicks on default tabs, like “File”, “Home”, “Insert” in a “parent” app? Either directly from the iframe, or inside a plugin code?

I tried onToolbarMenuClick in a plugin but that only works for custom added tabs as far as I understand.

Hello @jakob

Almost correct. This event works with plugin tabs. You can check out more info here:

As for the main toolbar tabs: there is no event that would allow that.