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

3 replies

tank666
  • 4859 replies
  • Answer
  • 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
  • Author
  • New Participant
  • 7 replies
  • January 31, 2024

Thanks for the materials, I will check them out!


Lazar_Krstic
  • Author
  • New Participant
  • 7 replies
  • January 31, 2024

Legend, I did it!


Reply


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