74ad13369306955bf2d5fb6dbe3dda5e993989a4
2 Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3 For licensing, see LICENSE.html or http://ckeditor.com/license
6 CKEDITOR
.stylesSet
.add( 'default',
10 // These styles are already available in the "Format" combo, so they are
11 // not needed here by default. You may enable them to avoid placing the
12 // "Format" combo in the toolbar, maintaining the same features.
14 { name : 'Paragraph' , element : 'p' },
15 { name : 'Heading 1' , element : 'h1' },
16 { name : 'Heading 2' , element : 'h2' },
17 { name : 'Heading 3' , element : 'h3' },
18 { name : 'Heading 4' , element : 'h4' },
19 { name : 'Heading 5' , element : 'h5' },
20 { name : 'Heading 6' , element : 'h6' },
21 { name : 'Preformatted Text', element : 'pre' },
22 { name : 'Address' , element : 'address' },
25 { name
: 'Blue Title' , element
: 'h3', styles
: { 'color' : 'Blue' } },
26 { name
: 'Red Title' , element
: 'h3', styles
: { 'color' : 'Red' } },
30 // These are core styles available as toolbar buttons. You may opt enabling
31 // some of them in the Styles combo, removing them from the toolbar.
33 { name : 'Strong' , element : 'strong', overrides : 'b' },
34 { name : 'Emphasis' , element : 'em' , overrides : 'i' },
35 { name : 'Underline' , element : 'u' },
36 { name : 'Strikethrough' , element : 'strike' },
37 { name : 'Subscript' , element : 'sub' },
38 { name : 'Superscript' , element : 'sup' },
41 { name
: 'Marker: Yellow' , element
: 'span', styles
: { 'background-color' : 'Yellow' } },
42 { name
: 'Marker: Green' , element
: 'span', styles
: { 'background-color' : 'Lime' } },
44 { name
: 'Big' , element
: 'big' },
45 { name
: 'Small' , element
: 'small' },
46 { name
: 'Typewriter' , element
: 'tt' },
48 { name
: 'Computer Code' , element
: 'code' },
49 { name
: 'Keyboard Phrase' , element
: 'kbd' },
50 { name
: 'Sample Text' , element
: 'samp' },
51 { name
: 'Variable' , element
: 'var' },
53 { name
: 'Deleted Text' , element
: 'del' },
54 { name
: 'Inserted Text' , element
: 'ins' },
56 { name
: 'Cited Work' , element
: 'cite' },
57 { name
: 'Inline Quotation' , element
: 'q' },
59 { name
: 'Language: RTL' , element
: 'span', attributes
: { 'dir' : 'rtl' } },
60 { name
: 'Language: LTR' , element
: 'span', attributes
: { 'dir' : 'ltr' } },
65 name
: 'Image on Left',
69 'style' : 'padding: 5px; margin-right: 5px',
76 name
: 'Image on Right',
80 'style' : 'padding: 5px; margin-left: 5px',
86 { name
: 'Borderless Table', element
: 'table', styles
: { 'border-style': 'hidden', 'background-color' : '#E6E6FA' } },
87 { name
: 'Square Bulleted List', element
: 'ul', styles
: { 'list-style-type' : 'square' } }