Fixed bug #6947: RTEfullScreenWidth by default please !
[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 = link, meta, script, style, title
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                 ## Left, center, right and justify alignment of text in block elements
138         inlineStyle.text-alignment (
139                 p.align-left, h1.align-left, h2.align-left, h3.align-left, h4.align-left, h5.align-left, h6.align-left, div.align-left, address.align-left { text-align: left; }
140                 p.align-center, h1.align-center, h2.align-center, h3.align-center, h4.align-center, h5.align-center, h6.align-center, div.align-center, address.align-center { text-align: center; }
141                 p.align-right, h1.align-right, h2.align-right, h3.align-right, h4.align-right, h5.align-right, h6.align-right, div.align-right, address.align-right { text-align: right; }
142                 p.align-justify, h1.align-justify, h2.align-justify, h3.align-justify, h4.align-justify, h5.align-justify, h6.align-justify, div.align-justify, address.align-justify { text-align: justify; }
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                 ## Default selectors for the default configuration of the link accessibity feature.
166         inlineStyle.accessibility (
167                 a.external-link {}
168                 a.external-link-new-window {}
169                 a.internal-link {}
170                 a.internal-link-new-window {}
171                 a.download {}
172                 a.mail {}
173         )
174                 ## Default selector for indentation.
175         inlineStyle.indentation (
176                 div.indent { margin-left: 2em; }
177         )
178
179                 ## Use stylesheet file rather than the above mainStyleOverride and inlineStyle properties to style the contents (htmlArea RTE only).
180                 ## When RTE.default.contentCSS is not specified, file EXT:rtehtmlarea/res/contentcsss/default.css is used.
181         ignoreMainStyleOverride = 1
182
183                 ## List all class selectors that are allowed on the way to the database
184         proc.allowedClasses (
185                 external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail,
186                 align-left, align-center, align-right, align-justify,
187                 csc-frame-frame1, csc-frame-frame2,
188                 component-items, action-items,
189                 component-items-ordered, action-items-ordered,
190                 important, name-of-person, detail,
191                 indent
192         )
193
194                 ## classesParagraph, classesTable, classesTD, classesLinks, classesCharacter
195                 ## Classic RTE: Specify the list of class selectors that should be presented in the RTE interface:
196                 ## htmlArea RTE: Restrict the list of class selectors presented by the RTE to the following:
197         classesParagraph (
198                 align-left, align-center, align-right,
199                 csc-frame-frame1, csc-frame-frame2
200         )
201         classesTable = csc-frame-frame1, csc-frame-frame2
202         classesTD = align-left, align-center, align-right
203         classesLinks = external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
204         classesCharacter = important, name-of-person, detail
205
206                 ## Configuration of the anchor accessibility feature (htmlArea RTE only)
207                 ## These classes should also be in the list of allowedClasses.
208         classesAnchor = external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
209         classesAnchor.default {
210                 page = internal-link
211                 url = external-link-new-window
212                 file = download
213                 mail = mail
214         }
215
216                 ## Configuration specific to the TableOperations feature (htmlArea RTE only)
217                 ## Remove the following fieldsets from the table operations dialogs
218         disableAlignmentFieldsetInTableOperations = 1
219         disableSpacingFieldsetInTableOperations = 1
220         disableColorFieldsetInTableOperations = 1
221         disableLayoutFieldsetInTableOperations = 1
222         disableBordersFieldsetInTableOperations = 1
223                 ## Show borders on table creation
224         buttons.toggleborders.setOnTableCreation = 1
225
226                 ## Configuration specific to the bold and italic buttons (htmlArea RTE only)
227                 ## Add hotkeys associated with bold and italic buttons
228         buttons.bold.hotKey = b
229         buttons.italic.hotKey = i
230 }
231
232         ## front end RTE configuration for the general public (htmlArea RTE only)
233 RTE.default.FE < RTE.default
234 RTE.default.FE.showStatusBar = 0
235 RTE.default.FE.hideButtons = chMode, blockstyle, textstyle, underline, strikethrough, subscript, superscript, lefttoright, righttoleft, left, center, right, justifyfull, table, inserttag, findreplace, removeformat, copy, cut, paste
236 RTE.default.FE.FE >
237 RTE.default.FE.userElements >
238 RTE.default.FE.userLinks >