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