summaryrefslogtreecommitdiffstats
path: root/modules-available/summernote
diff options
context:
space:
mode:
authorChristian Klinger2016-06-24 16:18:14 +0200
committerChristian Klinger2016-06-24 16:18:14 +0200
commit08d86d478b1507d355fb1fb226f55ef1c08e1863 (patch)
tree03e9ff6a4c5484169a19559cfb34a431beb526ec /modules-available/summernote
parentadded i18n for summernote. (diff)
downloadslx-admin-08d86d478b1507d355fb1fb226f55ef1c08e1863.tar.gz
slx-admin-08d86d478b1507d355fb1fb226f55ef1c08e1863.tar.xz
slx-admin-08d86d478b1507d355fb1fb226f55ef1c08e1863.zip
modified the editor toolbar.
Diffstat (limited to 'modules-available/summernote')
-rw-r--r--modules-available/summernote/clientscript.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules-available/summernote/clientscript.js b/modules-available/summernote/clientscript.js
index c965a18f..725db47d 100644
--- a/modules-available/summernote/clientscript.js
+++ b/modules-available/summernote/clientscript.js
@@ -13,12 +13,12 @@ $.getScript(filename, function () {
$('.summernote').summernote( {
toolbar: [
// [groupName, [list of button]]
- ['style', ['bold', 'italic', 'underline', 'clear']],
- ['font', ['strikethrough', 'superscript', 'subscript']],
+ ['para', ['style']],
+ ['style', ['bold', 'italic', 'underline', 'strikethrough', 'clear']],
// ['fontsize', ['fontsize']],
['color', ['color']],
['para', ['ul', 'ol', 'paragraph']],
- ['misc', ['codeview', 'undo', 'redo', 'fullscreen']]
+ ['misc', ['codeview', 'fullscreen']]
//['height', ['height']]
],
lang: LANG,