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 () {
$("#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.
Please Let us know if you have further queries,
Regards,
HariKrishnan.