1/** 2 * Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. 3 * For licensing, see LICENSE.html or http://ckeditor.com/license 4 */ 5 6// This file contains style definitions that can be used by CKEditor plugins. 7// 8// The most common use for it is the "stylescombo" plugin, which shows a combo 9// in the editor toolbar, containing all styles. Other plugins instead, like 10// the div plugin, use a subset of the styles on their feature. 11// 12// If you don't have plugins that depend on this file, you can simply ignore it. 13// Otherwise it is strongly recommended to customize this file to match your 14// website requirements and design properly. 15 16CKEDITOR.stylesSet.add( 'default', [ 17 18 { name: 'Code Text', element: 'code' }, 19 20 /* Object Styles */ 21 22 { 23 name: 'Code Block', 24 element: 'pre', 25 attributes: { 'class': 'code' } 26 }, 27 { 28 name: 'File Block', 29 element: 'pre', 30 attributes: { 'class': 'file' } 31 }, 32 { 33 name: 'Remove Block', 34 element: 'p', 35 }, 36 37]); 38 39