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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ej2_instances missing from Rich Text Editor

Thread ID:





141319 Dec 5,2018 06:22 PM UTC Dec 7,2018 05:31 AM UTC ASP.NET MVC - EJ 2 3
Tags: RichTextEditor
Charles Southey
Asked On December 5, 2018 06:22 PM UTC

Hi - in the latest version of the MVC Rich Text Editor the ej2_instances object appears to be missing. It was there in the previous version - but at the moment I am having to directly access the underlying DOM objects under the parent control in order to access the html value of the control like so...

        update = $('#newComment_rte-edit-view').html();

...where the id of the parent control is "newComment".

Is this an oversight or is there a new way of accessing the control's value?

Prince Oliver [Syncfusion]
Replied On December 6, 2018 11:06 AM UTC

Hi Charles, 

Thank you for contacting Syncfusion support. 

We were able to replicate the reported issue in our end and we are considering this as a defect. The fix for this issue will be included in our upcoming 2018 Volume 4 release. Meanwhile, we can access the RTE’s value from the value property using the instance which can be obtained as demonstrated in the following code. 

<script type="text/javascript"> 
// ‘new comment’ is the ID attribute, you need to append ‘-value’ at the end. 
    var rteObj = document.getElementById('newComment' + '-value').ej2_instances[0]; 

Please note the above workaround solution will work only till this issue is fixed (i.e.) till 2018 volume 4 release. After the fix you can take the instance directly using the ID attribute. 


Charles Southey
Replied On December 6, 2018 02:05 PM UTC

Do you have a release date for the 2018 Volume 4 release?

Prince Oliver [Syncfusion]
Replied On December 7, 2018 05:31 AM UTC

Hi Charles, 

Thank you for your update. 

The 2018 Volume 4 main release expected to be available in mid of December 2018. Please let us know if you have any further queries. 



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

Live Chat Icon For mobile
Live Chat Icon