source: sandbox/2.3-MailArchiver/filemanager/tp/ckeditor/_source/plugins/stylescombo/styles/default.js @ 6779

Revision 6779, 2.7 KB checked in by rafaelraymundo, 12 years ago (diff)

Ticket #2946 - Liberado Expresso(branch 2.3) integrado ao MailArchiver?.

Line 
1/*
2Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.html or http://ckeditor.com/license
4*/
5
6CKEDITOR.addStylesSet( 'default',
7[
8        /* Block Styles */
9
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.
13        /*
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' },
23        */
24
25        { name : 'Blue Title'           , element : 'h3', styles : { 'color' : 'Blue' } },
26        { name : 'Red Title'            , element : 'h3', styles : { 'color' : 'Red' } },
27
28        /* Inline Styles */
29
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.
32        /*
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' },
39        */
40
41        { name : 'Marker: Yellow'       , element : 'span', styles : { 'background-color' : 'Yellow' } },
42        { name : 'Marker: Green'        , element : 'span', styles : { 'background-color' : 'Lime' } },
43
44        { name : 'Big'                          , element : 'big' },
45        { name : 'Small'                        , element : 'small' },
46        { name : 'Typewriter'           , element : 'tt' },
47
48        { name : 'Computer Code'        , element : 'code' },
49        { name : 'Keyboard Phrase'      , element : 'kbd' },
50        { name : 'Sample Text'          , element : 'samp' },
51        { name : 'Variable'                     , element : 'var' },
52
53        { name : 'Deleted Text'         , element : 'del' },
54        { name : 'Inserted Text'        , element : 'ins' },
55
56        { name : 'Cited Work'           , element : 'cite' },
57        { name : 'Inline Quotation'     , element : 'q' },
58
59        { name : 'Language: RTL'        , element : 'span', attributes : { 'dir' : 'rtl' } },
60        { name : 'Language: LTR'        , element : 'span', attributes : { 'dir' : 'ltr' } },
61
62        /* Object Styles */
63
64        {
65                name : 'Image on Left',
66                element : 'img',
67                attributes :
68                {
69                        'style' : 'padding: 5px; margin-right: 5px',
70                        'border' : '2',
71                        'align' : 'left'
72                }
73        },
74
75        {
76                name : 'Image on Right',
77                element : 'img',
78                attributes :
79                {
80                        'style' : 'padding: 5px; margin-left: 5px',
81                        'border' : '2',
82                        'align' : 'right'
83                }
84        }
85]);
Note: See TracBrowser for help on using the repository browser.