39 lines
1.0 KiB
JavaScript
39 lines
1.0 KiB
JavaScript
/**
|
|
* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
|
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
*/
|
|
|
|
// This file contains style definitions that can be used by CKEditor plugins.
|
|
//
|
|
// The most common use for it is the "stylescombo" plugin, which shows a combo
|
|
// in the editor toolbar, containing all styles. Other plugins instead, like
|
|
// the div plugin, use a subset of the styles on their feature.
|
|
//
|
|
// If you don't have plugins that depend on this file, you can simply ignore it.
|
|
// Otherwise it is strongly recommended to customize this file to match your
|
|
// website requirements and design properly.
|
|
|
|
CKEDITOR.stylesSet.add( 'default', [
|
|
|
|
{ name: 'Code Text', element: 'code' },
|
|
|
|
/* Object Styles */
|
|
|
|
{
|
|
name: 'Code Block',
|
|
element: 'pre',
|
|
attributes: { 'class': 'code' }
|
|
},
|
|
{
|
|
name: 'File Block',
|
|
element: 'pre',
|
|
attributes: { 'class': 'file' }
|
|
},
|
|
{
|
|
name: 'Remove Block',
|
|
element: 'p',
|
|
},
|
|
|
|
]);
|
|
|