Skip to content

Instantly share code, notes, and snippets.

@bahamut45
Created November 26, 2014 20:42
Show Gist options
  • Save bahamut45/f8a97f0173457bd024a7 to your computer and use it in GitHub Desktop.
Save bahamut45/f8a97f0173457bd024a7 to your computer and use it in GitHub Desktop.
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.editorConfig = function (config)
{
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
config.toolbar = 'Full';
config.toolbar_Full =
[
['Cut',
'Copy',
'Paste',
'PasteText',
'PasteFromWord'],
[
'Undo',
'Redo',
'-',
'-',
'SelectAll',
'RemoveFormat'
],
[
'Table',
'HorizontalRule',
'SpecialChar'
],
'/',
[
'Bold',
'Italic',
'Underline',
'Strike'
],
[
'NumberedList',
'BulletedList',
'-',
'Outdent',
'Indent'
],
[
'JustifyLeft',
'JustifyCenter',
'JustifyRight',
'JustifyBlock'
],
'/',
[
'Format',
'Font',
'FontSize'
],
[
'TextColor'
],
[
'Link'
]
];
config.enterMode = CKEDITOR.ENTER_BR;
config.shiftEnterMode = CKEDITOR.ENTER_P;
config.enableTabKeyTools = true;
config.htmlEncodeOutput = false;
config.disableNativeSpellChecker = true;
config.browserContextMenuOnCtrl = false;
config.toolbarStartupExpanded = true;
config.font_names =
'Arial/Arial, Helvetica, sans-serif;' +
'Courier New/Courier New, Courier, monospace;' +
'Georgia/Georgia, serif;' +
'Lucida Sans Unicode/Lucida Sans Unicode, Lucida Grande, sans-serif;' +
'Tahoma/Tahoma, Geneva, sans-serif;' +
'Times New Roman/Times New Roman, Times, serif;' +
'Trebuchet MS/Trebuchet MS, Helvetica, sans-serif;' +
'Verdana/Verdana, Geneva, sans-serif';
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment