Для настройки редакторы создайте в корне шаблона вашего сайта файл с имененм wst-summernote-config.js
Пример кода настройки для файла wst-summernote-config.js, более подробные настройки смотрите на сайте разработчика.
let _summernoteConfig_ = {
lineHeights: ['0.1', '0.2', '0.3', '0.4', '0.5', '0.6', '0.8', '1.0', '1.2', '1.4', '1.5', '1.6', '1.8', '2.0', '3.0'],
toolbar: [
['style', ['style']],
['font', ['bold', 'italic', 'underline', 'strikethrough', 'superscript', 'subscript', 'clear']],
['fontname', ['fontname']],
['fontsize', ['fontsize']],
['color', ['color']],
['para', ['ul', 'ol', 'paragraph']],
['height', ['height']],
['table', ['table']],
['insert', ['link', 'video', /*'picture',*/ 'hr']],
['view', ['fullscreen', 'codeview']],
['help', ['help']]
],
fontNames: ['Arial', 'Arial Black', 'Tahoma', 'Violet'],
fontSizes: ['8','9','10','11','12','13','14','16','18','20','22','24','26','28','36','48','72'],
height: 400,
tabsize: 2,
codemirror: { theme: 'monokai' },
callbacks: {
onInit: function() {
$(this).summernote('lineHeight', 0.2);
$(this).summernote('fontSize', 14);
}
}
}