126
rated 0 times
[
132]
[
6]
/ answers: 1 / hits: 24054
/ 7 Years ago, thu, july 6, 2017, 12:00:00
I'm using last version summernote library. How i can set default font size and font?
I'm trying like this, but its not working:
$('.text-editor').summernote({
toolbar: [
['style', ['style']],
['font', ['bold', 'italic', 'underline', 'superscript', 'subscript', 'strikethrough', 'clear']],
['fontname', ['fontname']],
['fontsize', ['fontsize']],
['color', ['color']],
['para', ['ul', 'ol', 'paragraph']],
['height', ['height']],
['table', ['table']],
['insert', ['link', 'picture', 'video', 'hr']],
['view', ['codeview']]
],
fontsize: '16'
});
https://jsfiddle.net/dtgr5q29/142/
More From » summernote