I have a \'template\' selector, that enables people to change the \'text/html\' of the current textarea.
So when they change templates, I need to update the Summernote H
This works best for me
var html = 'Hello World!!'; $('#divID').summernote('code', html);