e87760827a05bbe66203916d419aa65f9606be44
[Packages/TYPO3.CMS.git] / typo3 / sysext / rtehtmlarea / Configuration / PageTS / 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 <typo3(arobas)sjbr.ca>
7 # ***************************************************************************************
8
9 ## Define labels and styles to be applied to class selectors in the interface of the RTE
10 ## The examples included here make partial re-use of color scheme and frame scheme from CSS Styled Content extension
11 RTE.classes {
12 align-left {
13 name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xlf:justifyleft
14 value = text-align: left;
15 }
16 align-center {
17 name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xlf:justifycenter
18 value = text-align: center;
19 }
20 align-right {
21 name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xlf:justifyright
22 value = text-align: right;
23 }
24 csc-frame-frame1 {
25 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:frame-frame1
26 value = background-color: #EDEBF1; border: 1px solid #333333;
27 }
28 csc-frame-frame2 {
29 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:frame-frame2
30 value = background-color: #F5FFAA; border: 1px solid #333333;
31 }
32 important {
33 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:important
34 value = color: #8A0020;
35 }
36 name-of-person {
37 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:name-of-person
38 value = color: #10007B;
39 }
40 detail {
41 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:detail
42 value = color: #186900;
43 }
44 component-items {
45 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:component-items
46 value = color: #186900;
47 }
48 action-items {
49 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:action-items
50 value = color: #8A0020;
51 }
52 component-items-ordered {
53 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:component-items
54 value = color: #186900;
55 }
56 action-items-ordered {
57 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:action-items
58 value = color: #8A0020;
59 }
60 }
61
62 ## Anchor classes configuration for use by the anchor accesibility feature
63 RTE.classesAnchor {
64 externalLink {
65 class = external-link
66 type = url
67 titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_titleText
68 }
69 externalLinkInNewWindow {
70 class = external-link-new-window
71 type = url
72 titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_new_window_titleText
73 }
74 internalLink {
75 class = internal-link
76 type = page
77 titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_titleText
78 }
79 internalLinkInNewWindow {
80 class = internal-link-new-window
81 type = page
82 titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_new_window_titleText
83 }
84 download {
85 class = download
86 type = file
87 titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:download_titleText
88 }
89 mail {
90 class = mail
91 type = mail
92 titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:mail_titleText
93 }
94 }
95
96 ## Default RTE configuration
97 RTE.default {
98
99 ## Markup options
100 enableWordClean = 1
101 removeTrailingBR = 1
102 removeComments = 1
103 removeTags = center, font, o:p, sdfield, strike, u
104 removeTagsAndContents = link, meta, script, style, title
105
106 ## Toolbar options
107 ## The TCA configuration may add buttons to the toolbar
108 showButtons (
109 blockstylelabel, blockstyle, textstylelabel, textstyle,
110 formatblock, bold, italic, subscript, superscript,
111 orderedlist, unorderedlist, outdent, indent, textindicator,
112 insertcharacter, link, table, findreplace, chMode, removeformat, undo, redo, about,
113 toggleborders, tableproperties,
114 rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit,
115 columninsertbefore, columninsertafter, columndelete, columnsplit,
116 cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge
117 )
118
119 ## More toolbar options
120 keepButtonGroupTogether = 1
121
122 ## Enable status bar
123 showStatusBar = 1
124
125 ## Hide infrequently used block types in the block formatting selector
126 buttons.formatblock.removeItems = pre,address
127
128 ## List all class selectors that are allowed on the way to the database
129 proc.allowedClasses (
130 external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail,
131 align-left, align-center, align-right, align-justify,
132 csc-frame-frame1, csc-frame-frame2,
133 component-items, action-items,
134 component-items-ordered, action-items-ordered,
135 important, name-of-person, detail,
136 indent
137 )
138
139 ## Restrict the list of class selectors presented by the RTE to the following for the specified tags:
140 buttons.blockstyle.tags.div.allowedClasses (
141 align-left, align-center, align-right,
142 csc-frame-frame1, csc-frame-frame2
143 )
144 buttons.blockstyle.tags.table.allowedClasses = csc-frame-frame1, csc-frame-frame2
145 buttons.blockstyle.tags.td.allowedClasses = align-left, align-center, align-right
146 buttons.textstyle.tags.span.allowedClasses = important, name-of-person, detail
147
148 ## Configuration of links
149 ## These classes should also be in the list proc.allowedClasses
150 buttons.link.properties.class.allowedClasses = external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
151 buttons.link.page.properties.class.default = internal-link
152 buttons.link.url.properties.class.default = external-link-new-window
153 buttons.link.file.properties.class.default = download
154 buttons.link.mail.properties.class.default = mail
155
156 ## Configuration specific to the TableOperations feature
157 ## Remove the following fieldsets from the table operations dialogs
158 disableAlignmentFieldsetInTableOperations = 1
159 disableSpacingFieldsetInTableOperations = 1
160 disableColorFieldsetInTableOperations = 1
161 disableLayoutFieldsetInTableOperations = 1
162 disableBordersFieldsetInTableOperations = 1
163 ## Show borders on table creation
164 buttons.toggleborders.setOnTableCreation = 1
165
166 ## Configuration specific to the bold and italic buttons
167 ## Add hotkeys associated with bold and italic buttons
168 buttons.bold.hotKey = b
169 buttons.italic.hotKey = i
170
171 ## Configuration of microdata schema
172 schema {
173 sources {
174 schemaOrg = EXT:rtehtmlarea/extensions/MicrodataSchema/res/schemaOrgAll.rdf
175 }
176 }
177 }
178
179 ## front end RTE configuration for the general public
180 RTE.default.FE < RTE.default
181 RTE.default.FE.showStatusBar = 0
182 RTE.default.FE.hideButtons = chMode, blockstyle, textstyle, underline, strikethrough, subscript, superscript, lefttoright, righttoleft, left, center, right, justifyfull, table, inserttag, findreplace, removeformat, copy, cut, paste
183 RTE.default.FE.FE >
184 RTE.default.FE.userElements >
185 RTE.default.FE.userLinks >