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.

Paste Html

Thread ID:

Created:

Updated:

Platform:

Replies:

131157 Jun 24,2017 01:19 PM Jun 26,2017 02:31 AM JavaScript 1
loading
Tags: ejRTE
Florian Mihalits
Asked On June 24, 2017 01:19 PM

Hello.

Does anybody know how one can paste HTML into the RTE-Control?
I know I can do that by setting the value, but I want the user to be able to paste HTML into the editor.

Any help is appreciated.

All the best, 
Florian

Karthikeyan Viswanathan [Syncfusion]
Replied On June 26, 2017 02:31 AM

Hi Florian,   
 
Thanks for contacting Syncfusion support. 
 
Yes, you can paste a HTML into RTE using source view tool item.  Please refer to the below code example: 
 
<code> 
<textarea id="editor"></textarea> 
 
<script type="text/javascript"> 
 
    $("#editor").ejRTE({ 
        showFooter:true, 
        showHtmlSource:true 
    }); 
 
</script> 
 
</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.

;