diff options
author | Simon Rettberg | 2016-07-04 16:06:27 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-07-04 16:06:27 +0200 |
commit | 6476ab2d0f482b8af9140c05a5c23e74922161a3 (patch) | |
tree | 6648b0a124a48aaf1d645c7d0714c5b145ff920d /modules-available/summernote | |
parent | Rename js plugin modules to be prefixed with "js_" (diff) | |
download | slx-admin-6476ab2d0f482b8af9140c05a5c23e74922161a3.tar.gz slx-admin-6476ab2d0f482b8af9140c05a5c23e74922161a3.tar.xz slx-admin-6476ab2d0f482b8af9140c05a5c23e74922161a3.zip |
[news/summernote] Make button selection match capabilities of Qt/vmchooser
Diffstat (limited to 'modules-available/summernote')
-rw-r--r-- | modules-available/summernote/clientscript.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/modules-available/summernote/clientscript.js b/modules-available/summernote/clientscript.js index 725db47d..69d7da93 100644 --- a/modules-available/summernote/clientscript.js +++ b/modules-available/summernote/clientscript.js @@ -14,13 +14,12 @@ $.getScript(filename, function () { toolbar: [ // [groupName, [list of button]] ['para', ['style']], - ['style', ['bold', 'italic', 'underline', 'strikethrough', 'clear']], - // ['fontsize', ['fontsize']], + ['style', ['bold', 'italic', 'underline', 'clear']], ['color', ['color']], - ['para', ['ul', 'ol', 'paragraph']], + ['para', ['ul', 'ol']], ['misc', ['codeview', 'fullscreen']] - //['height', ['height']] ], + styleTags: ['p', 'pre', 'h1', 'h2', 'h3'], lang: LANG, height: '300px', }); |