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

Javascript sample of the rich editor like in the Theme studio

There is a richtesteditor here  on the theme studio when you scroll down

https://ej2.syncfusion.com/themestudio/?theme=material

Can you please point me to a sample code that creates that richtexteditor just like that with the same items on the toolbar





3 Replies

PO Prince Oliver Syncfusion Team February 12, 2019 05:46 AM UTC

Hi Samuel, 

Thank you for contacting Syncfusion support. 

As per your requirement, we have attached a sample for RichTextEditor in JavaScript. Please find the sample at the following location:  

For further information kindly refer to the following links, 

  
Kindly check the above shared details and let us know if you need any assistance on this. 

Regards, 
Prince 



SA Samuel February 12, 2019 06:02 AM UTC

Perfect!
Thank you so much again.
Really appreciate it.

Just one more thing.
How do i get the 1. html generated and 2.text entered like say on a button click? so on a button click to  console.log the text and console.log the html








PO Prince Oliver Syncfusion Team February 12, 2019 07:32 AM UTC

Hi Samuel, 

Thank you for your update. 

As per your requirement to get the generated HTML and Text in RTE control, we suggest you use the following methods in the control which are accessible via control’s instance. 


We have attached the sample for your reference, please find the sample at the following location: https://stackblitz.com/edit/8ipnst-e7kpbt  

Please let us know if you need any further assistance on this. 

Regards, 
Prince 


Loader.
Live Chat Icon For mobile
Up arrow icon