/**
 * @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
 */

CKEDITOR.editorConfig = function( config ) {
	// Define changes to default configuration here. For example:

    // %REMOVE_END%
    config.toolbarGroups = [
        { name: 'clipboard',   groups: [ 'clipboard', 'undo' ] },
        { name: 'editing',     groups: [ 'find', 'selection', 'spellchecker' ] },
        { name: 'links' },
        { name: 'insert' },
        { name: 'forms' },
        { name: 'tools' },
        { name: 'document',	   groups: [ 'mode', 'document', 'doctools' ] },
        { name: 'others' },
        '/',
        { name: 'basicstyles', groups: [ 'Font','FontFamily','FontSize','Bold','Italic','Underline','Strike','Subscript','Superscript'] },

        // { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
        { name: 'paragraph',   groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
        { name: 'styles' },
        { name: 'colors' },
        { name: 'about' }


    ];
    config.contentsCss = 1;
//the next line add the new font to the combobox in CKEditor
//     config.font_names = 'Mukta;' + config.font_names;


    // config.toolbar = [
    //     { name: 'save', items: [ 'savebtn','Undo','Redo' ] },
    //     { name: 'clipboard', items: [ 'Cut','Copy','Paste','PasteText','PasteFromWord'] },
    //     { name: 'document', items: [ 'Find','Replace'] },
    //     '/',
    //     { name: 'lists', items: [ 'NumberedList','BulletedList','Outdent','Indent'] },
    //     { name: 'insert', items: [ 'Image','Table','Smiley','SpecialChar'] },
    //     { name: 'link', items: ['Link','Unlink'] },
    //     '/',
    //     { name: 'basicstyles', items: [ 'Font','FontSize','Bold','Italic','Underline','Strike','Subscript','Superscript'] },
    //     //'/',
    //     { name: 'align', items: [ 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'] }
    // ];

    config.toolbar = 'Full';

    // config.extraPlugins = 'font';


    // Remove some buttons provided by the standard plugins, which are
    // not needed in the Standard(s) toolbar.
    config.removeButtons = 'Underline,Subscript,Superscript';

    // Set the most common block elements.
    config.format_tags = 'p;h1;h2;h3;pre';


    // Simplify the dialog windows.
    config.removeDialogTabs = 'image:advanced;link:advanced';
	config.language = 'en';

};
