Sample Config.js file
After you've edited the Config.js file as described in Formatting an email in Outlook, the file should look as follows:
Copy
CKEDITOR.editorConfig = function( config )
{
config.autoParagraph = false;
config.toolbar = "Full";
config.disableNativeSpellChecker = false;
config.resize_enabled = false;
config.fillEmptyBlocks = false;
config.pasteFromWordRemoveFontStyles = false;
config.pasteFromWordRemoveFontStyles = false;
config.extraAllowedContent = 'img(*){*}[*]';
config.toolbar = [
{
name: 'document',
groups: [ 'mode', 'document', 'doctools' ],
items: [ 'Source', '-', 'Preview', 'Print', 'Templates']
},
{
name: 'clipboard',
groups: [ 'clipboard', 'undo' ],
items: [ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ]
},
{
name: 'editing',
groups: [ 'find', 'selection', 'spellchecker' ],
items: [ 'Find', 'Replace', '-', 'SelectAll']
},
{
name: 'basicstyles',
groups: [ 'basicstyles', 'cleanup' ],
items: [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ]
},
{
name: 'links',
items: [ 'Link', 'Unlink', 'Anchor' ]
},
{
name: 'insert',
items: [ 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak', 'Maximize' ]
},
'/',
{
name: 'paragraph',
groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ],
items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl' ]
},
{
name: 'styles',
items: [ 'Styles', 'Format', 'Font', 'FontSize' ]
},
{
name: 'colors',
items: [ 'TextColor', 'BGColor' ]
}
];
config.fontSize_sizes = '8/8pt;9/9pt;10/10pt;11/11pt;12/12pt;14/14pt;16/16pt;18/18pt;20/20pt;22/22pt;24/24pt;26/26pt;28/28pt;36/36pt;48/48pt;72/72pt';
config.allowedContent =
{
$1:
{
elements: CKEDITOR.dtd,
attributes: true,
styles: true,
classes: true
}
};
config.contentsCss=[];
