Summernote wysiwyg editor encodes image files into Base64. Well, this seems handy but I expect the DB to be used quite heavily for a long term. This will cause some issues -
You need to write custom function for onImageUpload().
I was looking for a solution. Found this: Summernote image upload