I've been attempting to incorporate font sizes into the summernote editor, but haven't had much success. When I eliminate
['fontsize', ['8', '9', '10', '11', '12', '14', '18']],
and replace it with ['fontsize', ['fontsize']],
, I am only able to see one size which is 13. I'm hoping to generate a list of different sizes.
<script>
$(document).ready(function() {
$('#image_body').summernote({
toolbar: [
// [groupName, [list of button]]
['style', ['bold', 'italic', 'underline', 'clear']],
['font', ['strikethrough', 'superscript', 'subscript']],
//['fontsize', ['fontsize']],
['fontsize', ['8', '9', '10', '11', '12', '14', '18']],
['color', ['color']],
['para', ['ul', 'ol', 'paragraph']],
['height', ['height']]
]
});
});