我正在尝试使用 Summernote 来显示文本编辑器。 我已经使用此代码来显示它:
$('#editor').summernote({
toolbar: [
['style', ['style']],
['text', ['bold', 'italic', 'underline', 'color', 'clear']],
['para', ['ul', 'ol', 'paragraph']],
['height', ['height']],
['size', ['fontsize']],
['font', ['fontname']],
],
fontsize: '18px',
onblur: function() {
var text = $('#editor').code();
text = text.replace("<br>", " ");
$('#description').val(text);
},
lang: language_value
});
但只有字体大小不显示。 还有其他方式显示吗?
最佳答案
关于javascript - Summernote字体大小不显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28805584/