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.

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 () {

$("#rteSample").ejRTE({

"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.