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

How to Insert the Local Hyperlink

1 Reply

KV Karthikeyan Viswanathan Syncfusion Team January 6, 2017 05:56 AM UTC

Hi Thanh Le Minh,     
 
Thanks for contacting Syncfusion support. 
 
By default, We have added validation related URL link.  If you want to override the validation means you can achieve by using the below share code snippet.  
 
Please find the code snippet for your requirement. 
 
 
<code> 
 
@{Html.EJ().RTE("rteSample").Width("100%") .Locale("en-US").ContentTemplate(@<p> 
                content 
            </p>).ClientSideEvents(e=>e.Create("RTEcreate")).Render();} 
 
 
 
 
function RTEcreate(args) { 
            var inst = $(this.element).ejRTE("instance"); 
 
// You can customize the isUrl function. Whatever related your scenario.  
            inst._isUrl = function (url) { 
                return (url != "") ? true:false; 
            } 
} 
 
</code> 
 
 
Regards,      
Karthikeyan V.  

Loader.
Up arrow icon