Hello,
I’m researching possibilities for our plugin.
Our use case:
- we store some plugin data using Figma’s getPluginData() - we arbitrarily tie the stored data to node.id provided by Figma
- on node copy+paste / duplicate, we would like to trigger a callback to check the original node, copy its plugin data and store it also for the node.id that has been created by the duplication / paste operation
From what I researched so far, there is no way to hook on paste / duplicate events (also because the callback would only be executed if the user performs such actions with our plugin open). But nevertheless I’d like to ask here, maybe someone could point me in the right direction?
Thank you, best regards,
Ondřej Frei