Summernote is a JavaScript library that helps you create WYSIWYG editors online. It lets you paste images from clipboard, save images directly in the content of the field using base64 encoding, so you don't need to implement image handling at all. And it is a very lightweight plugin, making it ideal for your project!
Find in-depth, guidelines, tutorials and more on Summernote's Official Documentation
summernote
onChange
onInit
localStorage
https://api.github.com/emojis