fckstyles.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!--
  3. * FCKeditor - The text editor for Internet - http://www.fckeditor.net
  4. * Copyright (C) 2003-2010 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. <!-- Block Styles -->
  29. <!--
  30. # These styles are already available in the "Format" combo, so they are not
  31. # needed here by default.
  32. <Style name="Heading 1" element="h1" />
  33. <Style name="Heading 2" element="h2" />
  34. <Style name="Heading 3" element="h3" />
  35. <Style name="Heading 4" element="h4" />
  36. <Style name="Heading 5" element="h5" />
  37. <Style name="Heading 6" element="h6" />
  38. <Style name="Paragraph" element="p" />
  39. <Style name="Document Block" element="div" />
  40. <Style name="Preformatted Text" element="pre" />
  41. <Style name="Address" element="address" />
  42. -->
  43. <!-- Inline Styles -->
  44. <!--
  45. # These are core styles available as toolbar buttons.
  46. <Style name="Bold" element="b">
  47. <Override element="strong" />
  48. </Style>
  49. <Style name="Italic" element="i">
  50. <Override element="em" />
  51. </Style>
  52. <Style name="Glossary" element="span">
  53. <Attribute name="class" value="glossary" />
  54. </Style >
  55. <Style name="Underline" element="u" />
  56. <Style name="Strikethrough" element="strike" />
  57. <Style name="Subscript" element="sub" />
  58. <Style name="Superscript" element="sup" />
  59. -->
  60. <Style name="Marker: Yellow" element="span">
  61. <Style name="background-color" value="Yellow" />
  62. </Style>
  63. <Style name="Marker: Green" element="span">
  64. <Style name="background-color" value="Lime" />
  65. </Style>
  66. <Style name="Big" element="big" />
  67. <Style name="Small" element="small" />
  68. <Style name="Typewriter" element="tt" />
  69. <Style name="Computer Code" element="code" />
  70. <Style name="Keyboard Phrase" element="kbd" />
  71. <Style name="Sample Text" element="samp" />
  72. <Style name="Variable" element="var" />
  73. <Style name="Deleted Text" element="del" />
  74. <Style name="Inserted Text" element="ins" />
  75. <Style name="Cited Work" element="cite" />
  76. <Style name="Inline Quotation" element="q" />
  77. <Style name="Language: RTL" element="span">
  78. <Attribute name="dir" value="rtl" />
  79. </Style>
  80. <Style name="Language: LTR" element="span">
  81. <Attribute name="dir" value="ltr" />
  82. </Style>
  83. <Style name="Language: RTL Strong" element="bdo">
  84. <Attribute name="dir" value="rtl" />
  85. </Style>
  86. <Style name="Language: LTR Strong" element="bdo">
  87. <Attribute name="dir" value="ltr" />
  88. </Style>
  89. <!-- Object Styles -->
  90. <Style name="Image on Left" element="img">
  91. <Attribute name="style" value="padding: 5px; margin-right: 5px" />
  92. <Attribute name="border" value="2" />
  93. <Attribute name="align" value="left" />
  94. </Style>
  95. <Style name="Image on Right" element="img">
  96. <Attribute name="style" value="padding: 5px; margin-left: 5px" />
  97. <Attribute name="border" value="2" />
  98. <Attribute name="align" value="right" />
  99. </Style>
  100. </Styles>