With a text item selected I ran the below command. But it doesn’t work. And the returns null.
figma.currentPage.selection[0].outlineStroke()
With a text item selected I ran the below command. But it doesn’t work. And the returns null.
figma.currentPage.selection[0].outlineStroke()
Best answer by Gleb
You probably want to use flatten instead. I have no idea where people got the idea that you need to use outline stroke on text… But I guess the main thing it works, at least in the editor. Not in the API though it seems.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.