温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:IFNuke1.1.0版源码
当前文件:
IFnuke110/Website/fckeditor/fckstyles.xml,打开代码结构图
IFnuke110/Website/fckeditor/fckstyles.xml,打开代码结构图1<?xml version="1.0" encoding="utf-8" ?> 2
<!-- 3
* FCKeditor - The text editor for Internet - http://www.fckeditor.net 4
* Copyright (C) 2003-2008 Frederico Caldeira Knabben 5
* 6
* == BEGIN LICENSE == 7
* 8
* Licensed under the terms of any of the following licenses at your 9
* choice: 10
* 11
* - GNU General Public License Version 2 or later (the "GPL") 12
* http://www.gnu.org/licenses/gpl.html 13
* 14
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL") 15
* http://www.gnu.org/licenses/lgpl.html 16
* 17
* - Mozilla Public License Version 1.1 or later (the "MPL") 18
* http://www.mozilla.org/MPL/MPL-1.1.html 19
* 20
* == END LICENSE == 21
* 22
* This is the sample style definitions file. It makes the styles combo 23
* completely customizable. 24
* 25
* See FCKConfig.StylesXmlPath in the configuration file. 26
--> 27
<Styles> 28
29
<!-- Block Styles --> 30
31
<!-- 32
# These styles are already available in the "Format" combo, so they are not 33
# needed here by default. 34
35
<Style name="Heading 1" element="h1" /> 36
<Style name="Heading 2" element="h2" /> 37
<Style name="Heading 3" element="h3" /> 38
<Style name="Heading 4" element="h4" /> 39
<Style name="Heading 5" element="h5" /> 40
<Style name="Heading 6" element="h6" /> 41
<Style name="Paragraph" element="p" /> 42
<Style name="Document Block" element="div" /> 43
<Style name="Preformatted Text" element="pre" /> 44
<Style name="Address" element="address" /> 45
--> 46
47
<!-- Inline Styles --> 48
49
<!-- 50
# These are core styles available as toolbar buttons. 51
52
<Style name="Bold" element="b"> 53
<Override element="strong" /> 54
</Style> 55
<Style name="Italic" element="i"> 56
<Override element="em" /> 57
</Style> 58
<Style name="Underline" element="u" /> 59
<Style name="Strikethrough" element="strike" /> 60
<Style name="Subscript" element="sub" /> 61
<Style name="Superscript" element="sup" /> 62
--> 63
64
<Style name="Marker: Yellow" element="span"> 65
<Style name="background-color" value="Yellow" /> 66
</Style> 67
<Style name="Marker: Green" element="span"> 68
<Style name="background-color" value="Lime" /> 69
</Style> 70
71
<Style name="Big" element="big" /> 72
<Style name="Small" element="small" /> 73
<Style name="Typewriter" element="tt" /> 74
75
<Style name="Computer Code" element="code" /> 76
<Style name="Keyboard Phrase" element="kbd" /> 77
<Style name="Sample Text" element="samp" /> 78
<Style name="Variable" element="var" /> 79
80
<Style name="Deleted Text" element="del" /> 81
<Style name="Inserted Text" element="ins" /> 82
83
<Style name="Cited Work" element="cite" /> 84
<Style name="Inline Quotation" element="q" /> 85
86
<Style name="Language: RTL" element="span"> 87
<Attribute name="dir" value="rtl" /> 88
</Style> 89
<Style name="Language: LTR" element="span"> 90
<Attribute name="dir" value="ltr" /> 91
</Style> 92
<Style name="Language: RTL Strong" element="bdo"> 93
<Attribute name="dir" value="rtl" /> 94
</Style> 95
<Style name="Language: LTR Strong" element="bdo"> 96
<Attribute name="dir" value="ltr" /> 97
</Style> 98
99
<!-- Object Styles --> 100
101
<Style name="Image on Left" element="img"> 102
<Attribute name="style" value="padding: 5px; margin-right: 5px" /> 103
<Attribute name="border" value="2" /> 104
<Attribute name="align" value="left" /> 105
</Style> 106
<Style name="Image on Right" element="img"> 107
<Attribute name="style" value="padding: 5px; margin-left: 5px" /> 108
<Attribute name="border" value="2" /> 109
<Attribute name="align" value="right" /> 110
</Style> 111
</Styles> 112


