Path: blob/master/web-gui/buildyourownbotnet/assets/js/ckeditor/config.js
1293 views
/**1* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.2* For licensing, see LICENSE.html or http://ckeditor.com/license3*/45CKEDITOR.editorConfig = function( config ) {6// Define changes to default configuration here.7// For the complete reference:8// http://docs.ckeditor.com/#!/api/CKEDITOR.config910// The toolbar groups arrangement, optimized for two toolbar rows.11config.toolbarGroups = [12{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },13{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] },14{ name: 'links' },15{ name: 'insert' },16{ name: 'forms' },17{ name: 'tools' },18{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },19{ name: 'others' },20'/',21{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },22{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },23{ name: 'styles' },24{ name: 'colors' },25{ name: 'about' }26];2728// Remove some buttons, provided by the standard plugins, which we don't29// need to have in the Standard(s) toolbar.30config.removeButtons = 'Underline,Subscript,Superscript';3132// Se the most common block elements.33config.format_tags = 'p;h1;h2;h3;pre';3435// Make dialogs simpler.36config.removeDialogTabs = 'image:advanced;link:advanced';37};383940