lundi 2 mars 2015

summernote font size doesn't shows

I'm trying to use the summernote to display the text editor. I have used this code to display it:



$('#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
});


but only font-size doesn't display. Is there any other way to display it?


Aucun commentaire:

Enregistrer un commentaire