2
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
7
* Licensed under the terms of any of the following licenses at your
10
* - GNU General Public License Version 2 or later (the "GPL")
11
* http://www.gnu.org/licenses/gpl.html
13
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
14
* http://www.gnu.org/licenses/lgpl.html
16
* - Mozilla Public License Version 1.1 or later (the "MPL")
17
* http://www.mozilla.org/MPL/MPL-1.1.html
21
* Configuration settings used by the XHTML 1.1 sample page (sample14.html).
24
// Our intention is force all formatting features to use CSS classes or
25
// semantic aware elements.
30
FCKConfig.CoreStyles.Bold = { Element : 'b' } ;
31
FCKConfig.CoreStyles.Italic = { Element : 'i' } ;
32
FCKConfig.CoreStyles.Underline = { Element : 'u' } ;
33
FCKConfig.CoreStyles.StrikeThrough = { Element : 'strike' } ;
38
// Define the way font elements will be applied to the document. The "span"
39
// element will be used. When a font is selected, the font name defined in the
40
// above list is passed to this definition with the name "Font", being it
41
// injected in the "class" attribute.
42
// We must also instruct the editor to replace span elements that are used to
43
// set the font (Overrides).
44
FCKConfig.CoreStyles.FontFace =
47
Attributes : { 'face' : '#("Font")' }
53
FCKConfig.FontSizes = '1/xx-small;2/x-small;3/small;4/medium;5/large;6/x-large;7/xx-large' ;
54
FCKConfig.CoreStyles.Size =
57
Attributes : { 'size' : '#("Size")' }
63
FCKConfig.EnableMoreFontColors = true ;
64
FCKConfig.CoreStyles.Color =
67
Attributes : { 'color' : '#("Color")' }
70
FCKConfig.CoreStyles.BackColor =
73
Styles : { 'background-color' : '#("Color","color")' }
79
FCKConfig.StylesXmlPath = '' ;
80
FCKConfig.CustomStyles =
82
'Computer Code' : { Element : 'code' },
83
'Keyboard Phrase' : { Element : 'kbd' },
84
'Sample Text' : { Element : 'samp' },
85
'Variable' : { Element : 'var' },
87
'Deleted Text' : { Element : 'del' },
88
'Inserted Text' : { Element : 'ins' },
90
'Cited Work' : { Element : 'cite' },
91
'Inline Quotation' : { Element : 'q' }