Created
November 26, 2014 20:42
-
-
Save bahamut45/f8a97f0173457bd024a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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