/**
 * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or http://ckeditor.com/license
 */

CKEDITOR.editorConfig = function( config ) {
    config.toolbarGroups = [
        { name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
        { name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
        { name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
        { name: 'forms', groups: [ 'forms' ] },
        { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
        { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
        { name: 'links', groups: [ 'links' ] },
        '/',
        { name: 'insert', groups: [ 'insert' ] },
        { name: 'styles', groups: [ 'styles' ] },
        { name: 'colors', groups: [ 'colors' ] },
        { name: 'others', groups: [ 'others' ] }
    ];

    config.removeButtons = 'Form,Checkbox,TextField,Radio,Textarea,Select,Button,ImageButton,HiddenField,Save,Preview,Print,Templates,Cut,Copy,Paste,PasteText,PasteFromWord,Replace,SelectAll,CreateDiv,Language,Maximize,About,Anchor,Image,NewPage,ShowBlocks,Scayt,CreateDiv';
    config.allowedContent = true;
    config.extraPlugins = 'autogrow,image2,widget,lineutils,clipboard,notification,toolbar,button,widgetselection,iframedialog,dialogui,fakeobjects,coverimage,pastebase64,coverimagepaste,covervideo';
};