File: /home/posscale/subdomains/xibo/web/theme/default/libraries/ckeditor/config.js
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here.
// For the complete reference:
// http://docs.ckeditor.com/#!/api/CKEDITOR.config
// The toolbar groups arrangement, optimized for two toolbar rows.
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: [ 'basicstyles', 'cleanup' ] },
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
{ name: 'styles' },
{ name: 'colors' },
{ name: 'about' }
];
// Remove some buttons, provided by the standard plugins, which we don't
// need to have in the Standard(s) toolbar.
config.removeButtons = 'Subscript,Superscript,Search Source,Format Selection';
// Set the most common block elements.
config.format_tags = 'p;h1;h2;h3;pre';
// Add some more font-sizes
config.fontSize_sizes += ';80/80px;88/88px;96/96px;128/128px;144/144px;168/168px;186/186px;200/200px;244/244px;288/288px;300/300px';
// Make dialogs simpler.
config.removeDialogTabs = 'image:advanced;link:advanced';
config.extraPlugins = 'iframe';
// Change the allowed content behaviour
//config.extraAllowedContent = 'table[*]';
config.allowedContent = true;
};