Figma.on event

Hello. Recently I worked with plugin that can work only in “export” page. It was easy to add listener on page change, but rename page doesn’t trigger any event. Because of it user after rename should re-open plugin or change page and get back to export. Not really cool UX… I think it will be better to trigger currentpagechange.

Have you tried listening to the documentchange event?

God, why it works only after asking on forum :skull:
Yep, thanks, this is what I need