Method for knowing when panel is in the edit mode or not?

Hi all,

I am working on a panel plugin that I’d like to have hide some visual elements when not in edit mode. Is this possible? and if so what method should I use to find the current mode.

Thanks for any help!

I’m not aware of a way to do this through the API. But maybe you could parse and check whether editPanel has been set?

This seems to work fairly well, thanks for the help!
Could be useful to have it in the API still.

1 Like