[EDIT] After a lot of digging around, I found out that the problem was in how I integrated the CKEditor into my page. The simple and obvious way does work in this c
Did you try adding function on click JavaScript event on the submit button and changing the values?
It may work because client script will execute first