Code cleanup: replaced CVS with SVN
[Packages/TYPO3.CMS.git] / typo3 / sysext / rtehtmlarea / res / typical / pageTSConfig.txt
1 # ***************************************************************************************
2 # "Typical" Page TSconfig for htmlArea RTE and Classic RTE
3 #
4 # Sets Page TSConfig with most commonly used features representing a good start for typical sites.
5 #
6 # @author Stanislas Rolland <stanislas.rolland(arobas)fructifor.ca>
7 #
8 # TYPO3 SVN ID: $Id$
9 # ***************************************************************************************
10
11 ## Define labels and styles to be applied to class selectors in the interface of the RTE
12 ## The examples included here make partial re-use of color scheme and frame scheme from CSS Styled Content extension
13 RTE.classes {
14 align-left {
15 name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xml:justifyleft
16 value = text-align: left;
17 }
18 align-center {
19 name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xml:justifycenter
20 value = text-align: center;
21 }
22 align-right {
23 name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xml:justifyright
24 value = text-align: right;
25 }
26 csc-frame-frame1 {
27 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:frame-frame1
28 value = background-color: #EDEBF1; border: 1px solid #333333;
29 }
30 csc-frame-frame2 {
31 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:frame-frame2
32 value = background-color: #F5FFAA; border: 1px solid #333333;
33 }
34 important {
35 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:important
36 value = color: #8A0020;
37 }
38 name-of-person {
39 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:name-of-person
40 value = color: #10007B;
41 }
42 detail {
43 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:detail
44 value = color: #186900;
45 }
46 component-items {
47 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:component-items
48 value = color: #186900;
49 }
50 action-items {
51 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:action-items
52 value = color: #8A0020;
53 }
54 component-items-ordered {
55 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:component-items
56 value = color: #186900;
57 }
58 action-items-ordered {
59 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:action-items
60 value = color: #8A0020;
61 }
62 }
63
64 ## Anchor classes configuration for use by the anchor accesibility feature (htmlArea RTE only)
65 RTE.classesAnchor {
66 externalLink {
67 class = external-link
68 type = url
69 titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:external_link_titleText
70 }
71 externalLinkInNewWindow {
72 class = external-link-new-window
73 type = url
74 titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:external_link_new_window_titleText
75 }
76 internalLink {
77 class = internal-link
78 type = page
79 titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:internal_link_titleText
80 }
81 internalLinkInNewWindow {
82 class = internal-link-new-window
83 type = page
84 titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:internal_link_new_window_titleText
85 }
86 download {
87 class = download
88 type = file
89 titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:download_titleText
90 }
91 mail {
92 class = mail
93 type = mail
94 titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:mail_titleText
95 }
96 }
97
98 ## Default RTE configuration
99 RTE.default {
100
101 ## Markup options (htmlArea RTE only)
102 enableWordClean = 1
103 removeTrailingBR = 1
104 removeComments = 1
105 removeTags = center, font, o:p, sdfield, strike,u
106 removeTagsAndContents = style,script
107
108 ## Toolbar options
109 ## The TCA configuration may add buttons to the toolbar
110 ## The following buttons are specific to Classic RTE: class
111 ## The following buttons are specific to htmlArea RTE: blockstylelabel, blockstyle, textstylelabel, textstyle,
112 ## insertcharacter, findreplace, removeformat, toggleborders, tableproperties,
113 ## rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit,
114 ## columninsertbefore, columninsertafter, columndelete, columnsplit,
115 ## cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge
116 showButtons (
117 class, blockstylelabel, blockstyle, textstylelabel, textstyle,
118 formatblock, bold, italic, subscript, superscript,
119 orderedlist, unorderedlist, outdent, indent, textindicator,
120 insertcharacter, link, table, findreplace, chMode, removeformat, undo, redo, about,
121 toggleborders, tableproperties,
122 rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit,
123 columninsertbefore, columninsertafter, columndelete, columnsplit,
124 cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge
125 )
126
127 ## More toolbar options (htmlArea RTE only)
128 keepButtonGroupTogether = 1
129
130 ## Enable status bar (htmlArea RTE only)
131 showStatusBar = 1
132
133 ## Hide infrequently used paragraph types in the paragraph type selector (formatblock button)
134 hidePStyleItems = pre,address
135
136 ## Add default example styles
137 ## The example styles included here make partial re-use of color scheme and frame scheme from CSS Styled Content extension
138 ## Left, center and right alignment of text in paragraphs and cells.
139 inlineStyle.text-alignment (
140 p.align-left, h1.align-left, h2.align-left, h3.align-left, h4.align-left, h5.align-left, h6.align-left, td.align-left { text-align: left; }
141 p.align-center, h1.align-center, h2.align-center, h3.align-center, h4.align-center, h5.align-center, h6.align-center, td.align-center { text-align: center; }
142 p.align-right, h1.align-right, h2.align-right, h3.align-right, h4.align-right, h5.align-right, h6.align-right, td.align-right { text-align: right; }
143 )
144 ## Two frame examples taken from the example CSS file of CSS Styled Content extension and applied to p and table block elements.
145 inlineStyle.frames (
146 p.csc-frame-frame1, table.csc-frame-frame1 { background-color: #EDEBF1; padding: 2px 4px 2px 4px; border: 1px solid #333333; }
147 p.csc-frame-frame2, table.csc-frame-frame2 { background-color: #F5FFAA; padding: 2px 4px 2px 4px; border: 1px solid #333333; }
148 )
149 ## Bullet styles for unordered lists.
150 inlineStyle.ul (
151 ul.component-items { color: #186900; list-style-type: circle; }
152 ul.action-items { color: #8A0020; list-style-image: url(img/red_arrow_bullet.gif); }
153 )
154 ## Numbering styles for ordered lists.
155 inlineStyle.ol (
156 ol.component-items-ordered { color: #10007B; list-style-type: lower-roman; }
157 ol.action-items-ordered { color: #8A0020; list-style-type: lower-greek; }
158 )
159 ## Three inline text colors taken from the color scheme of CSS Styled Content extension.
160 inlineStyle.inline-text (
161 span.important { color: #8A0020; }
162 span.name-of-person { color: #10007B; }
163 span.detail { color: #186900; }
164 )
165
166 ## Use stylesheet file rather than the above mainStyleOverride and inlineStyle properties to style the contents (htmlArea RTE only)
167 ignoreMainStyleOverride = 1
168
169 ## List all class selectors that are allowed on the way to the database
170 proc.allowedClasses (
171 external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail,
172 align-left, align-center, align-right, align-justify,
173 csc-frame-frame1, csc-frame-frame2,
174 component-items, action-items,
175 component-items-ordered, action-items-ordered,
176 important, name-of-person, detail,
177 indent
178 )
179
180 ## classesParagraph, classesTable, classesTD, classesLinks, classesCharacter
181 ## Classic RTE: Specify the list of class selectors that should be presented in the RTE interface:
182 ## htmlArea RTE: Restrict the list of class selectors presented by the RTE to the following:
183 classesParagraph (
184 align-left, align-center, align-right,
185 csc-frame-frame1, csc-frame-frame2
186 )
187 classesTable = csc-frame-frame1, csc-frame-frame2
188 classesTD = align-left, align-center, align-right
189 classesLinks = external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
190 classesCharacter = important, name-of-person, detail
191
192 ## Configuration of the anchor accessibility feature (htmlArea RTE only)
193 ## These classes should also be in the list of allowedClasses.
194 classesAnchor = external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
195 classesAnchor.default {
196 page = internal-link
197 url = external-link-new-window
198 file = download
199 mail = mail
200 }
201
202 ## Configuration specific to the TableOperations feature (htmlArea RTE only)
203 ## Remove the following fieldsets from the table operations dialogs
204 disableAlignmentFieldsetInTableOperations = 1
205 disableSpacingFieldsetInTableOperations = 1
206 disableColorFieldsetInTableOperations = 1
207 disableLayoutFieldsetInTableOperations = 1
208 disableBordersFieldsetInTableOperations = 1
209
210 ## Configuration specific to the bold and italic buttons (htmlArea RTE only)
211 ## Add hotkeys associated with bold and italic buttons
212 buttons.bold.hotKey = b
213 buttons.italic.hotKey = i
214 }
215
216 ## front end RTE configuration for the general public (htmlArea RTE only)
217 RTE.default.FE < RTE.default
218 RTE.default.FE.showStatusBar = 0
219 RTE.default.FE.hideButtons = chMode, blockstyle, textstyle, underline, strikethrough, subscript, superscript, lefttoright, righttoleft, left, center, right, justifyfull, table, inserttag, findreplace, removeformat, copy, cut, paste
220 RTE.default.FE.FE >
221 RTE.default.FE.userElements >
222 RTE.default.FE.userLinks >
223
224 ## tt_content TCEFORM configuration
225 ## Let use all the space available for more comfort.
226 TCEFORM.tt_content.bodytext.RTEfullScreenWidth= 100%