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

Paste Html

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

1 Reply

KV Karthikeyan Viswanathan Syncfusion Team 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. 


Loader.
Up arrow icon