I’m creating a plugin that saving data to the file with figma.root.setPluginData
.
I noticed that I will lose new saved plugin data on a branch when I merge the branch.
Is this expected behavior?
Maybe, I can use figma.clientStorage
instead, but I’d like to share the plugin data between some editors and review changes in the branch.
Memo: How to retrieve the “lost” data
- “See all branches”
- Open merged branch in “Archived”
- “Duplicate as new file”
- Run the plugin on the duplicated file.