From 6c2673b169d8dc91ccb76af68119fd3942bbc27c Mon Sep 17 00:00:00 2001 From: rgarcia Date: Wed, 29 Jul 2015 13:11:44 +0200 Subject: [PATCH] removes options from wysiwyg [#39] --- app/assets/javascripts/ckeditor/config.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/ckeditor/config.js b/app/assets/javascripts/ckeditor/config.js index 264bf6b7e..8d6edd348 100644 --- a/app/assets/javascripts/ckeditor/config.js +++ b/app/assets/javascripts/ckeditor/config.js @@ -108,10 +108,8 @@ CKEDITOR.editorConfig = function( config ) ]; config.toolbar_mini = [ - { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ], items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock' ] }, - { name: 'styles', items: [ 'Font', 'FontSize' ] }, - { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ], items: [ 'Bold', 'Italic', 'Underline', 'Strike', '-', 'RemoveFormat' ] }, - { name: 'insert', items: [ 'Table', 'HorizontalRule', 'SpecialChar' ] } + { name: 'paragraph', groups: [ 'list' ], items: [ 'NumberedList', 'BulletedList' ] }, + { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ], items: [ 'Bold', 'Italic', 'Underline', 'Strike' ] } ]; config.toolbar = "mini"; };