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

Javascript sample of the rich editor like in the Theme studio

Thread ID:

Created:

Updated:

Platform:

Replies:

142586 Feb 11,2019 10:29 AM UTC Feb 12,2019 07:32 AM UTC JavaScript - EJ 2 3
loading
Tags: RichTextEditor
Samuel
Asked On February 11, 2019 10:29 AM UTC

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





Prince Oliver [Syncfusion]
Replied On 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 


Samuel
Replied On 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







Prince Oliver [Syncfusion]
Replied On 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 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

;