We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Programmatically adding a hyperlink

Programmatically adding a hyperlink to selected text. I search and searched could not find an API. I can't use builtin in hyperlink dialog as I am building my own hyperlink dialog.

4 Replies

SK sk February 22, 2019 10:00 PM UTC

Please help!


RT Ramya Thirugnanam Syncfusion Team February 25, 2019 12:33 PM UTC

Hi Sampurnima,  
  
Query   
Response  
Programmatically adding a hyperlink to selected text. I search and searched could not find an API. I can't use built-in in hyperlink dialog as I am building my own hyperlink dialog.  
Currently , Programmatically API is not available to insert hyperlink. We will add new API in Documenteditor to insert hyperlink  as like the below code example If display text is undefined, create hyperlink with selected text as displaytext.   
 
insertHyperlink(navigateUrl:string,displayText?:string)  
 
 
This API will be available from our Volume 1 release on March 2019. 
 
  
  
Regards,  
Ramya T 



SK sk February 25, 2019 03:23 PM UTC

Awesome, Thanks for adding this feature in March release,



RT Ramya Thirugnanam Syncfusion Team February 26, 2019 09:53 AM UTC

Hi Sampurnima,   
 
Sorry for the inconvenience caused. 
 
We will include the hyperlink related enhancements in our SP1 of Volume 1 release which is tentatively scheduled on end of April 2019. 
 
Regards,   
Ramya T  


Loader.
Up arrow icon