//////////////////////////////////////////////////////////////////////
// Do NOT change this file!
// Put all custom settings into a new file named
//    ckconfig_news_custom.js
//////////////////////////////////////////////////////////////////////

// disable upload images for module communication
config.filebrowserUploadUrl = null;
config.filebrowserImageUploadUrl = null;

config.toolbar_Full =
[
    { name: 'basicstyles', items : [ 'Bold','Italic','Underline','-','RemoveFormat' ] },
    { name: 'links',       items : [ 'Link','Unlink' ] },
    { name: 'paragraph',   items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'] },
    { name: 'clipboard',   items : [ 'Cut','Copy','Paste','PasteFromWord','-','Undo','Redo' ] },
    { name: 'insert',      items : [ 'Image'] },
    { name: 'document',    items : [ 'Source'] }
];

// Prevents CKE4 from removing certain HTML elements and attributes tag(classes)[attributes]{styles}
config.extraAllowedContent = 'div(*){*}[*];a(*){*}[*];button(*){*}[*];h2(*);h3(*);h4(*);h5(*);h6(*);ul(*){*}[*];ol(*){*}[*];li(*){*}[*];video(*){*}[*];source{*}[*];iframe(*){*}[*];';
// Allow the "role" attribute on all elements
config.extraAllowedContent += '*(*)[role];';
// Allow the "aria-" attribute on all elements
config.extraAllowedContent += '*(*)(*)[aria-*];';
// Allow the "data-" attribute on all elements
config.extraAllowedContent += '*(*)(*)[data-*];';
