Skip to main content
Solved

How to get hyperlink info


Lazar_Krstic

Once I launch my plugin, on click I want to fetch all of the properties info and display them in JSON.

I asked ChatGPT how to get hyperlinks added as interaction in the prototype tab, and he suggested something like this, but it is always displaying null.

FYI I am not a developer, just testing something and I am stuck with this hyperlink property, so I need some help.


Best answer by tank666

The hyperlink property is only supported on TextNode and TextSublayerNode. Please see the developer documentation:
https://www.figma.com/developers/api#typestyle-type

figma.com
View original
This topic has been closed for comments

tank666
  • January 30, 2024

The hyperlink property is only supported on TextNode and TextSublayerNode. Please see the developer documentation:
https://www.figma.com/developers/api#typestyle-type

figma.com

Lazar_Krstic

Thanks for the materials, I will check them out!


Lazar_Krstic

Legend, I did it!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings