Skip to main content
neicore
New Member
Nov 6, 2023 11:46 AM UTC
Solved

In plugin development, how do you know which file the user is in?

Hello Figma Community,
When you are developing a Figma plugin have you ever been in a scenario where you needed to know and keep a record of what file the user is in? How did you do it?

This topic has been closed for replies.
tank666
tank666Solution
Nov 6, 2023 11:53 AM UTC

You can check the document name or fileKey (if it is a private plugin).

UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank

1 reply

tank666
tank666Solution
Nov 6, 2023 11:53 AM UTC

You can check the document name or fileKey (if it is a private plugin).

UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank