// GetSimpleCMS config file for CKeditor 3.6.2 // default editor config CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. config.resize_dir = 'vertical' // vertical resize config.toolbarCanCollapse = false; // hide toolbar collapse button config.dialog_backgroundCoverColor = '#000000'; config.toolbar_advanced = [['Bold', 'Italic', 'Underline', 'NumberedList', 'BulletedList', 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock', 'Table', 'TextColor', 'BGColor', 'Link', 'Unlink', 'Image', 'RemoveFormat', 'Source'], '/', ['Styles','Format','Font','FontSize']]; config.toolbar_basic = [['Bold', 'Italic', 'Underline', 'NumberedList', 'BulletedList', 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock', 'Link', 'Unlink', 'Image', 'RemoveFormat', 'Source']]; }; /** ------------------------------------------------------------------------ * GS Default overrides and extras * DO NOT EDIT BELOW THIS LINE */ // Override default block element source formatting CKEDITOR.on( 'instanceReady', function( ev ) { var blockTags = ['div','h1','h2','h3','h4','h5','h6','p','pre','li','blockquote','ul','ol','table','thead','tbody','tfoot','td','th',]; var rules = { indent : true, breakBeforeOpen : true, breakAfterOpen : false, breakBeforeClose : false, breakAfterClose : true }; for (var i=0; i