I have never used summernote , however, looking at the API , there is nothing (at least for now) to indicate the default font size, I am doing a test making some attempts similar to you, and it seems like nobody is working.
A possible solution for this is to apply the font-size style to the div editor using jQuery using jQuery , because when you initialize summernote in an object, always create the following div : <div class="note-editable" ...>...</div> That way you can do the following after initializing $('.note-editable').css('font-size','18px'); in your code, it could be:
$('.active-textcontainer').summernote({ toolbar: [ ['style', ['bold', 'italic', 'underline']], ['fontsize', ['fontsize']], ['color', ['color']], ['para', ['ul', 'ol', 'paragraph']] ], height:150 }); $('.note-editable').css('font-size','18px');
This solution is a little complicated, if the class name in the div editor changes in the next version, this will not work, maybe this is enough for your case.
Hope this helps,
source share