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

ejRTE seem to not register the last character that was typed

Thread ID:





116127 Apr 7,2014 10:04 PM UTC Apr 8,2014 04:37 PM UTC JavaScript 1
Tags: ejRTE
Xander van der Merwe
Asked On April 7, 2014 10:04 PM UTC

Using the following code:

   "value": contentItem.value,
   change: function(args) {
      console.log("notes changed", args.htmlText);
      contentItem.value = args.htmlText;

You will notice that the change() function will log the current contents of the editor every time that you type something. However, it will always be one character behind what you type, resulting in the last character typed to not be saved.

Example - you type: 

"The brown fox jumps"

You will save (the last "s" is not included):

"The brown fox jump"

A bug? Any work around?


Harikrishnan P [Syncfusion]
Replied On April 8, 2014 04:37 PM UTC

Hi Xander,

Sorry for the inconvenience caused. We have identified this as a bug, and logged an issue report on this. Fix for this issue will be available in our upcoming release which is going to be rolled out in a week or two.

You can try like this as a workaround,

            var rteObj,contentItem = "The brown fox jumps";

            $(function () {


                    "value": contentItem,

                    keyup: function (args) { // Keyup event

                        console.log("notes changed", rteObj.getText());

                        contentItem = rteObj.getText();  //Gets the current value of RTE



                rteObj = $("#rteSample").data("ejRTE");


Log the values of the RTE in the Keyup event. Use the getText() method to get the current values in RTE.


Please Let us know if you have 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

or the page will be automatically redirected to 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