[FEATURE] htmlArea RTE: Edit HTML5 microdata items
[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 <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.xml:justifyleft
14                 value = text-align: left;
15         }
16         align-center {
17                 name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xml:justifycenter
18                 value = text-align: center;
19         }
20         align-right {
21                 name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xml:justifyright
22                 value = text-align: right;
23         }
24         csc-frame-frame1 {
25                 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:frame-frame1
26                 value = background-color: #EDEBF1; border: 1px solid #333333;
27         }
28         csc-frame-frame2 {
29                 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:frame-frame2
30                 value = background-color: #F5FFAA; border: 1px solid #333333;
31         }
32         important {
33                 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:important
34                 value = color: #8A0020;
35         }
36         name-of-person {
37                 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:name-of-person
38                 value = color: #10007B;
39         }
40         detail {
41                 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:detail
42                 value = color: #186900;
43         }
44         component-items {
45                 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:component-items
46                 value = color: #186900;
47         }
48         action-items {
49                 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:action-items
50                 value = color: #8A0020;
51         }
52         component-items-ordered {
53                 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:component-items
54                 value = color: #186900;
55         }
56         action-items-ordered {
57                 name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml: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.xml:external_link_titleText
68         }
69         externalLinkInNewWindow {
70                 class = external-link-new-window
71                 type = url
72                 titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:external_link_new_window_titleText
73         }
74         internalLink {
75                 class = internal-link
76                 type = page
77                 titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:internal_link_titleText
78         }
79         internalLinkInNewWindow {
80                 class = internal-link-new-window
81                 type = page
82                 titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:internal_link_new_window_titleText
83         }
84         download {
85                 class = download
86                 type = file
87                 titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:download_titleText
88         }
89         mail {
90                 class = mail
91                 type = mail
92                 titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml: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                 ## Property ignoreMainStyleOverride is DEPRECATED as of TYPO3 4.6 and will be removed in TYPO3 4.8
129                 ## Use stylesheet file rather than mainStyleOverride and inlineStyle properties to style the contents.
130                 ## When RTE.default.contentCSS is not specified, file EXT:rtehtmlarea/res/contentcsss/default.css is used.
131         ignoreMainStyleOverride = 1
132
133                 ## List all class selectors that are allowed on the way to the database
134         proc.allowedClasses (
135                 external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail,
136                 align-left, align-center, align-right, align-justify,
137                 csc-frame-frame1, csc-frame-frame2,
138                 component-items, action-items,
139                 component-items-ordered, action-items-ordered,
140                 important, name-of-person, detail,
141                 indent
142         )
143
144                 ## Restrict the list of class selectors presented by the RTE to the following for the specified tags:
145         buttons.blockstyle.tags.div.allowedClasses (
146                 align-left, align-center, align-right,
147                 csc-frame-frame1, csc-frame-frame2
148         )
149         buttons.blockstyle.tags.table.allowedClasses = csc-frame-frame1, csc-frame-frame2
150         buttons.blockstyle.tags.td.allowedClasses = align-left, align-center, align-right
151         buttons.textstyle.tags.span.allowedClasses = important, name-of-person, detail
152
153                 ## Configuration of links
154                 ## These classes should also be in the list proc.allowedClasses
155         buttons.link.properties.class.allowedClasses = external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
156         buttons.link.page.properties.class.default = internal-link
157         buttons.link.url.properties.class.default = external-link-new-window
158         buttons.link.file.properties.class.default = download
159         buttons.link.mail.properties.class.default = mail
160
161                 ## Configuration specific to the TableOperations feature
162                 ## Remove the following fieldsets from the table operations dialogs
163         disableAlignmentFieldsetInTableOperations = 1
164         disableSpacingFieldsetInTableOperations = 1
165         disableColorFieldsetInTableOperations = 1
166         disableLayoutFieldsetInTableOperations = 1
167         disableBordersFieldsetInTableOperations = 1
168                 ## Show borders on table creation
169         buttons.toggleborders.setOnTableCreation = 1
170
171                 ## Configuration specific to the bold and italic buttons
172                 ## Add hotkeys associated with bold and italic buttons
173         buttons.bold.hotKey = b
174         buttons.italic.hotKey = i
175
176                 ## Configuration of microdata schema
177         schema {
178                 sources {
179                         schemaOrg = EXT:rtehtmlarea/extensions/MicrodataSchema/res/schemaOrgAll.rdf
180                 }
181         }
182 }
183
184         ## front end RTE configuration for the general public
185 RTE.default.FE < RTE.default
186 RTE.default.FE.showStatusBar = 0
187 RTE.default.FE.hideButtons = chMode, blockstyle, textstyle, underline, strikethrough, subscript, superscript, lefttoright, righttoleft, left, center, right, justifyfull, table, inserttag, findreplace, removeformat, copy, cut, paste
188 RTE.default.FE.FE >
189 RTE.default.FE.userElements >
190 RTE.default.FE.userLinks >