【发布时间】:2016-08-15 14:28:30
【问题描述】:
我使用的是summernote,有时我需要比字体大小列表中可用的值更高的字体。这是我当前的代码:
$('#summernote').summernote({
toolbar: [
['style', ['style']],
['fontsize', ['fontsize']],
['font', ['bold', 'italic', 'underline', 'clear']],
['fontname', ['fontname']],
['color', ['color']],
['para', ['ul', 'ol', 'paragraph']],
['height', ['height']],
['insert', ['picture', 'hr']],
['table', ['table']]
],
height: 585,
focus: false
});
我尝试输入工具栏字体大小(如 10、20、25、30 之类的数字),但没有帮助。有没有办法如何设置我自己的自定义字体大小列表?
【问题讨论】:
标签: font-size summernote