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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Paste Html

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 06:31 AM UTC

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.

Warning Icon 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.Close Icon

;