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,TM,\u2026,...,\u201c|\u201d,",\u2019,\',\u2013,–,\u2014,—,\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 ♥ ♥ 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 } }