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.
Unfortunately, activation email could not send to your email. Please try again.

How to Insert the Local Hyperlink

Thread ID:

Created:

Updated:

Platform:

Replies:

128153 Jan 5,2017 05:15 AM Jan 6,2017 12:56 AM ASP.NET MVC 1
loading
Tags: RichTextEditor
Karthikeyan Viswanathan [Syncfusion]
Replied On January 6, 2017 12:56 AM

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.  

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;