In the file RTE_javascript.asp there is some code around line 165 which is meant to capture any onSubmit event you already have and run it after the RTE's own onSubmit event to re-populate your original textarea with the RTE input.
This is the code that does this:-
//get textrea value from RTE and run any original onSubmit events textArea.form.onsubmit = function(){ textArea.value = editor.body.innerHTML; for (i in this.originalOnSubmit){ return this.originalOnSubmit[i](); } }
|
After the line:-
textArea.value = editor.body.innerHTML;
Try adding in a call to your own onSubmit event and see if that solves the problem.