Skip to content

Commit 03cb133

Browse files
committed
Rearrange CKEditor toolbar, remove clipboard buttons
1 parent 08d7f72 commit 03cb133

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

qa-plugin/wysiwyg-editor/ckeditor/config.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,15 @@ CKEDITOR.editorConfig = function( config ) {
99

1010
// The toolbar arrangement, two rows of buttons
1111
config.toolbar = [
12-
{ name: 'basic', items: [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript' ] },
13-
{ name: 'color', items: [ 'TextColor', 'BGColor' ] },
14-
{ name: 'align', items: [ 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock' ] },
1512
{ name: 'font', items: [ 'Font', 'FontSize', 'Format' ] },
13+
{ name: 'paragraph', items: [ 'NumberedList', 'BulletedList', 'Outdent', 'Indent', 'Blockquote' ] },
14+
{ name: 'align', items: [ 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock' ] },
1615
'/',
17-
{ name: 'paragraph', items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote' ] },
16+
{ name: 'basic', items: [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript' ] },
17+
{ name: 'color', items: [ 'TextColor', 'BGColor' ] },
1818
{ name: 'links', items: [ 'Link', 'Unlink' ] },
1919
{ name: 'insert', items: [ 'Image', 'Table', 'HorizontalRule', 'SpecialChar', 'Smiley' ] },
20-
{ name: 'clipboard', items: [ 'Cut', 'Copy', '-', 'Undo', 'Redo' ] },
21-
{ name: 'last', items: [ 'RemoveFormat', 'Maximize' ] }
20+
{ name: 'last', items: [ 'Undo', 'Redo', 'RemoveFormat', 'Maximize' ] }
2221
];
2322

2423
// Set the most common block elements
@@ -33,5 +32,4 @@ CKEDITOR.editorConfig = function( config ) {
3332

3433
// Prevent blank paragraphs
3534
config.fillEmptyBlocks = false;
36-
3735
};

0 commit comments

Comments
 (0)