Search.../

link

Sets or gets the URL of the rich text's link

Type:

stringRead & Write

Was this helpful?

Get the URL of the rich text's link

Copy Code
1let myUrl = $w("myRichText").link; // "https://mysite.com"
Set the URL of the rich text's link

Copy Code
1$w("#myRichText").link = “https://www.mysite.com”;