Revision 663337636332 () - Diff

Link to this snippet: https://friendpaste.com/5P6nrpF6Drp36slkOY9Al8
Embed:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
RTE.default {
callbackJavascriptFile =
gzip = 1
gzipFileCache = 1
defaultLanguageFE = de
typo3filemanager.window.width = 700
typo3filemanager.window.height = 400
typo3filemanagerThumbs.width = 200
typo3filemanagerThumbs.height = 150
typo3filemanagerMaxPlainImages.width = 500
typo3filemanagerMaxPlainImages.height = 500
linkhandler {
tt_news {
# id of the Single News Page
parameter = 27
# id of the Storage folder containing the news (just used to mark already selected news) [set "storage >" if unsure or the user can select from more than one Storage Folder]
storage = 25
additionalParams = &tx_ttnews[tt_news]={field:uid}
additionalParams.insertData = 1
# you need: uid, hidden, header [this is the displayed title] (use xx as header to select other properties)
# you can provide: bodytext [alternative title], starttime, endtime [to display the current status]
select = uid,title as header,hidden,starttime,endtime,bodytext
sorting = crdate desc
}
}
# Config used for the spellchecker
spellcheck {
general.engine = GoogleSpell
PSpell.mode = PSPELL_FAST
PSpell.spelling =
PSpell.jargon =
PSpell.encoding =
PSpellShell.mode = PSPELL_FAST
PSpellShell.aspell =
PSpellShell.tmp = ./tmp
}
}

RTE.default.init {
content_css = fileadmin/templates/skin_standard/css/rte.css

theme_advanced_buttons1=help,fullscreen,spellchecker,|,cut,copy,pastetext,pasteword,search,replace,|,template,cleanup,removeformat,code,|,table,row_props,cell_props,delete_col,delete_row,delete_table,col_after,col_before,row_after,row_before,split_cells,visualaid,merge_cells
theme_advanced_buttons2=justifyleft,justifycenter,justifyright,justifyfull,bold,italic,underline,strikethrough,sub,sup,bullist,numlist,styleselect,formatselect,charmap,blockquote,anchor,link,unlink,image,media
theme_advanced_buttons3=
theme_advanced_buttons4=
plugins=inlinepopups,safari,tabfocus,fullscreen,spellchecker,paste,searchreplace,template,removeformat,table,advlink,advimage,media
theme_advanced_statusbar_location = bottom
width = 600
height = 550
fix_table_elements = true
# you could override the following option if you don't want to insert links.
file_browser_callback = typo3filemanager
# Additional config options for the "pastetext" button.
# If enabled double linefeeds are converted to paragraph elements when using the plain text dialog. This is enabled by default.
paste_create_paragraphs = true
# If enabled single linefeeds are converted to hard line break elements when using the plain text dialog. This is enabled by default.
paste_create_linebreaks = true
# Additional config options for the "pasteword" button.
# If disabled then normal cleanup will not be performed after wordpaste. This option is enabled by default.
paste_force_cleanup_wordpaste = true
# MSIE specific option, if you set this to true both Mozilla and MSIE will present a paste dialog. If you set it to false pasting in MSIE will be done directly. This option is set to true by default.
paste_use_dialog = true
# MSIE specific option. If you enable this feature, a word paste will be executed when the user copy/paste content to the editor. This feature is disabled by default.
paste_auto_cleanup_on_paste = true
# If this feature is enabled middot lists are converted into UL lists, these will be assigned a special class.
paste_convert_middot_lists = true
# This option enables you to specify what class to assign to the UL list of middot converted lists. Middot lists are unindented in MS Office. This option defaults to "unIndentedList".
paste_unindented_list_class = unIndentedList
# This feature converts H1-6 elements to strong elements on paste, this is feature is disabled by default.
paste_convert_headers_to_strong = true
# This enables you to control if the word parse operation should remove or keep span elements, they will be removed by default.
paste_remove_spans = true
# This enables you to control if the word parse operation should remove or keep style attributes, they will be removed by default.
paste_remove_styles = true
# Comma separated list of search/replace chunks. Where even items is the regexp that is to be used for the search and odd values are the contents that are to be replaced.
paste_replace_list = \u2122,<sup>TM</sup>,\u2026,...,\u201c|\u201d,",\u2019,\',\u2013,&ndash;,\u2014,&mdash;,\u2015|\u2212,-
# This feature allows you to control whether or not class attributes are stripped when using pasteword. Valid values are:
# all - will strip all class attributes from the pasted content. This is the default value.
# none - will not strip any class attributes from the pasted content.
# mso - will strip out all of the class attribute values that start with "Mso", but retain all others.
paste_strip_class_attributes = all
# This option enables you to specify a callback function. This callback is executed when the user pastes word content, the return value of this function will be the new content string.
#paste_insert_word_content_callback =
# Additional config options for the "template" button.
template_templates {
10 {
title = static HTML
src = EXT:tinymce_rte/res/tinymce_templates/static.html
description = Adds some static HTML an expert could prepare
}
20 {
title = TYPO3 mod
description = Use an TYPO3 mod to get data easily into the the TinyMCE Template
include = EXT:tinymce_rte/res/tinymce_templates/advanced.php
}
12 {
title = simple replace
src = EXT:tinymce_rte/res/tinymce_templates/simpleReplace.html
description = Adds some HTML where certain variables will be replaced
}
30 {
title = 2 Spalten
src = EXT:tinymce_rte/res/tinymce_templates/2cols.html
description = Aufteilung des RTE Feldes in 2 Spalten.
}
}
# Additional config options for the "code" button.
# This option enables you to force word wrap for the source editor, this option is set to true by default.
theme_advanced_source_editor_wrap = true
# Additional config options for the "table" button.
# This option should contain a semicolon separated list of class titles and class names separated by =
# The titles are the ones that get presented to the user in the styles drop down list and and the class names is the classes that gets inserted.
table_styles = Header 1=header1;Header 2=header2;Header 3=header3
# This option should contain a semicolon separated list of class titles and class names separated by =
# The titles are the ones that get presented to the user in the styles drop down list and and the class names is the classes that gets inserted.
table_cell_styles = Header 1=header1;Header 2=header2;Header 3=header3;Table Cell=tableCel1
# This option should contain a semicolon separated list of class titles and class names separated by =
# The titles are the ones that get presented to the user in the styles drop down list and and the class names is the classes that gets inserted.
table_row_styles = Header 1=header1;Header 2=header2;Header 3=header3;Table Row=tableRow1
# Enables you to specify the max number of cells for a table.
table_cell_limit = 100
# Enables you to specify the max number of rows for a table.
table_row_limit = 5
# Enables you to specify the max number of columns for a table.
table_col_limit = 5
# Enables you to specify the default border value.
table_default_border =
# Enables you to specify the default cellpadding value.
table_default_cellpadding = 2
# Enables you to specify the default cellspacing value.
table_default_cellspacing = 0
# Additional config options for the "styleselect" button.
# This option should contain a semicolon separated list of class titles and class names separated by =. The titles will be presented to the user in the styles dropdown list and the class names will be inserted. If this option is not defined, TinyMCE imports the classes from the content_css.
# dont forget to set these classes in RTE.default.proc
theme_advanced_styles = Warnung=warning
# Additional config options for the "formatselect" button.
# This option should contain a comma separated list of formats that will be available in the format drop down list.
theme_advanced_blockformats = p,h1,h2,h3,h4,h5,h6
# Additional config options for the "link" button.
# This option should contain a semicolon separated list of class titles and class names separated by =. The titles are the ones that get presented to the user in the styles drop down list and and the class names is the classes that gets inserted.
advlink_styles =
# This option should contain a semicolon separated list of link target titles and target names separated by =. The titles are the ones that get presented to the user in the link target drop down list and and the target names is the target that gets inserted as a target attribute.
#theme_advanced_link_targets = Some frame=someframe;Some other frame=otherframe
# Additional config options for the "image" button.
# This option enables you to control if the image dimensions should be updated with new data if the image src field is changed. This option is enabled by default.
advimage_update_dimensions_onchange = true
# Additional config options for the "media" button.
# True/false option that gives you the ability to have a JavaScript embed method instead of using object/embed tags. Defaults to: false
media_use_script = false
# True/false option that enables you to force Windows media player 6 compatiblity by returning that clsid, but some features and options for WMP may not work if you use this option. You can find a reference on these options at w3schools. Defaults to: false
media_wmp6_compatible = false
# Skips the loading of the default plugin CSS file, this can be useful if your content CSS already defined the media specific CSS information, Defaults to: false.
media_skip_plugin_css = false
# URL to a JS file containing files to be listed in the media dropdown list similar to the one found in the advimg dialog. The name of the array variable in the JS file should be "tinyMCEMediaList".
media_external_list_url
# Name/Value list of format mappings to file extensions. Defaults to: flash=swf;shockwave=dcr;qt=mov,qt,mpg,mp3,mp4,mpeg;shockwave=dcr;wmp=avi,wmv,wm,asf,asx,wmx,wvx;rmp=rm,ra,ram.
media_types = flash=swf;shockwave=dcr;qt=mov,qt,mpg,mp3,mp4,mpeg;shockwave=dcr;wmp=avi,wmv,wm,asf,asx,wmx,wvx;rmp=rm,ra,ram
# This option enables you to switch strict output on/off.
media_strict = false
# Additional config options for the "tabfocus" plugin.
# This option enables you to specify an element ID to focus, when the user pressed the tab key inside the editor. You can also use the special ":prev" and ":next" values. It will then places the focus on either the previous or next input element placed before/after the TinyMCE instance in the DOM.
# Move focus to next element in DOM
#tabfocus_elements = :prev,:next
}



# Default RTE processing rules
RTE.default.proc {
# TRANSFORMATION METHOD
# We assume that CSS Styled Content is used.
overruleMode = ts_css
# DO NOT CONVERT BR TAGS INTO LINEBREAKS
# br tags in the content are assumed to be intentional.
dontConvBRtoParagraph = 1
# DO NOT USE HTML SPECIAL CHARS FROM DB TO RTE
# needed if you want to save spezial chars like &#9829; &hearts; both displays a heart (first NUM-Code second HTML-Code)
dontHSC_rte = 1

# PRESERVE DIV
# we don't want div to be remove or remaped to p
preserveDIVSections = 1

# TAGS ALLOWED OUTSIDE P & DIV
allowTagsOutside = hr, address, ul, ol, li, img, table, object, embed
# DON'T FETCH EXTERNAL IMAGES
dontFetchExtPictures = 1

# TAGS ALLOWED
# Added to the default internal list: b,i,u,a,img,br,div,center,pre,font,hr,sub,sup,p,strong,em,li,ul,ol,blockquote,strike,span
# But, for the sake of clarity, we use a complete list in alphabetic order.
# center, font, strike, sdfield and u will be removed on entry (see below).
# b and i will be remapped on exit (see below).
allowTags (
a, abbr, acronym, address, blockquote, b, br, caption, cite, code, div, em, embed,
h1, h2, h3, h4, h5, h6, hr, i, img, li, link, object, ol, p, param, pre, q,
span, strong, sub, sup, table, tbody, td, th, tr, tt, ul
)

# TAGS DENIED
# Make sure we can set rules on any tag listed in allowTags.
denyTags >

# ALLOWED P & DIV ATTRIBUTES
# Attributes class and align are always preserved
# Align attribute will be unset on entry (see below)
# This is a list of additional attributes to keep
#keepPDIVattribs = xml:lang, style
keepPDIVattribs = xml:lang
allowedClasses = warning
# CONTENT TO DATABASE
entryHTMLparser_db = 1
entryHTMLparser_db {
# TAGS ALLOWED
# Always use the same list of allowed tags.
allowTags < RTE.default.proc.allowTags

# TAGS DENIED
# Make sure we can set rules on any tag listed in allowTags.
denyTags >

# AVOID CONTENT BEING HSC'ed TWICE
htmlSpecialChars = 0
tags {
# CLEAN ATTRIBUTES ON THE FOLLOWING TAGS
p.fixAttrib.align.unset = 1
div.fixAttrib.align.unset = 1
hr.allowedAttribs = class, style
br.allowedAttribs = class, style
table.allowedAttribs = class, style, id, border, cellpadding, cellspacing
thead.allowedAttribs = class, style
tfoot.allowedAttribs = class, style
b.allowedAttribs = xml:lang
blockquote.allowedAttribs = xml:lang
cite.allowedAttribs = xml:lang
em.allowedAttribs = xml:lang
i.allowedAttribs = xml:lang
q.allowedAttribs = xml:lang
strong.allowedAttribs = xml:lang
sub.allowedAttribs = xml:lang
sup.allowedAttribs = xml:lang
tt.allowedAttribs = xml:lang
}

# REMOVE OPEN OFFICE META DATA TAGS AND DEPRECATED HTML TAGS
# We use this rule instead of the denyTags rule so that we can protect custom tags without protecting these unwanted tags.
removeTags = center, font, o:p, sdfield, strike, u

# PROTECT CUSTOM TAGS
keepNonMatchedTags = protect

# XHTML COMPLIANCE
# Note that applying xhtml_cleaning on exit would break non-standard attributes of typolink tags
xhtml_cleaning = 1
}
HTMLparser_db {
# STRIP ALL ATTRIBUTES FROM THESE TAGS
# If this list of tags is not set, it will default to: b,i,u,br,center,hr,sub,sup,strong,em,li,ul,ol,blockquote,strike.
# However, we want to keep xml:lang attribute on most tags and tags from the default list where cleaned on entry.
noAttrib =
}

exitHTMLparser_db = 1
exitHTMLparser_db {
# REMAP B AND I TAGS
# This must be done on exit because the default HTMLparser_db parsing executes the reverse mapping.
tags.b.remap = strong
tags.i.remap = em

# KEEP ALL TAGS
# Unwanted tags were removed on entry.
# Without this rule, the parser will remove all tags! Presumably, this rule will be more efficient than repeating the allowTags rule
keepNonMatchedTags = 1

# AVOID CONTENT BEING HSC'ed TWICE
htmlSpecialChars = 0
}

}