This commit is contained in:
Florian Bouillon 2018-06-18 18:48:55 +02:00
parent 9faf28fd96
commit fe9bdfc8e7

View File

@ -2,14 +2,16 @@ $(document).ready ->
$('.editor').summernote { $('.editor').summernote {
minHeight: 300, minHeight: 300,
toolbar: [ toolbar: [
['style', ['bold', 'italic', 'underline', 'clear']], ['style', ['style']],
['font', ['strikethrough', 'superscript', 'subscript']], ['font', ['bold', 'italic', 'underline', 'clear']],
['fontsize', ['fontsize']], ['fontname', ['fontname']],
['color', ['color']], ['color', ['color']],
['para', ['ul', 'ol', 'paragraph']], ['para', ['ul', 'ol', 'paragraph']],
['height', ['height']], ['height', ['height']],
['table', ['table']],
['insert', ['link', 'picture', 'hr']],
['codeWrapper', ['codeWrapper']], ['codeWrapper', ['codeWrapper']],
['insert', ['gxcode']], ['view', ['fullscreen', 'codeview']],
['misc', ['codeview']] ['help', ['help']]
] ]
} }