Added onsubmit callback

I have added an onsubmit callback because I needed to do some additional processing after summernote updated the backing element with the code from the editor.