Skip to main content

Could anyone help me how to use a HyperlinkTarget object to put a link on a Textnode that links to an different node on that page (like a different Text, Frame, Shape,…)


I have no idea how to use the code snippet below 😕


type HyperlinkTarget = {
type: "URL" | "NODE"
value: string
}
node.hyperlink = {type: "NODE", value: "0:1"}

Where 0:1 is the id of the node.


Thank you very much! 🙌


Reply