summernote allows you to attach to the onchange callback . When using react-summernote this is the normal way to capture the change and save it.
The change event is not propagated when image attributes are applied. You have to do at least one interaction with the editor to get the changes reported to the callback.
This is a fix to propagate the change event up when the user applies the image attribute changes and let the user save the changes immediately.
summernote
allows you to attach to theonchange
callback . When using react-summernote this is the normal way to capture the change and save it.The change event is not propagated when image attributes are applied. You have to do at least one interaction with the editor to get the changes reported to the callback.
This is a fix to propagate the change event up when the user applies the image attribute changes and let the user save the changes immediately.