[Summernote] form submit data not update and post

  • 285
  • 0

on form submit,  editor data not update <input>  and post  data

solution :

//init bind
$('#summernote').summernote('code', $('#summernote').val())

//bind before form submit
$('#frmNews').submit(function () {  
    $('#summernote').val($('#summernote').summernote('code'));
});

It's an old problem:

https://github.com/summernote/summernote/issues/74