// // Project: Rtehtmlarea Config // Version: 1.0.0 // Date création : 25/10/06 // Mise à jour : 27/12/06 // Author: Christian BELLET // // Done with SweeTS - delicious TypoScript development. // http://typo3.area42.de // RTE { // Colors definition colors { color1 { name = Orange clair value = #FFCC99 } color2 { name = Orange value = #FF6633 } color3 { name = Bleu clair value = #6699CC } color4 { name = Bleu foncé value = #3A76B1 } color5 { name = Rouge value = #FF0000 } color6 { name = Vert value = #66FF33 } } // Classes definition classes > classesAnchor > classesAnchor { // External externalLink { class = externalLink type = url altText = LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:external_link_altText } // External in new window externalLinkInNewWindow { class = external-link-new-window type = url altText = LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:external_link_new_window_altText } // Internal internalLink { class = internal-link type = page altText = LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:internal_link_altText } // Internal in new window internalLinkInNewWindow { class = internal-link-new-window type = page altText = LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:internal_link_new_window_altText } // Download download { class = download type = file altText = LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:download_altText } // Mail mail { class = mail type = mail altText = LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:mail_altText } } default { // Available classes for HTML elements classesParagraph > classesTable > classesTD > classesLinks > classesCharacter > classesAnchor > classesImage > // Paragraphes classes - should be defined in attached css file or in inlineStyle property classesParagraph = italique,gras,souligne // Characters classes - should be defined in attached css file or in inlineStyle property classesCharacter = italique,gras // Anchor classes - classes should be defined in RTE.classesAnchor classesAnchor = external-link,external-link-new-window,internal-link,internal-link-new-window,download,mail // Default anchor classes classesAnchor.default { page = internal-link url = external-link-new-window file = download mail = mail } // Affiche les styles contenus dans la CSS (paragraphes) showTagFreeClasses = 1 // Disable examples styles disablePCexamples = 1 // Disable Typo3 specific browsers disableTYPO3Browsers = 0 // Clean up options enableWordClean = 1 // Display buttons in RTE showButtons ( class, blockstylelabel, blockstyle, textstylelabel, textstyle, formatblock, bold, italic, underline, strikethrough, subscript, superscript, lefttoright, righttoleft, left, center, right, justifyfull, orderedlist, unorderedlist, outdent, indent, textcolor, bgcolor, textindicator, insertcharacter, line, link, image, table, acronym, findreplace, spellcheck, chMode,inserttag, removeformat, copy, cut, paste, undo, redo, showhelp, about, toggleborders, tableproperties, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge ) // More toolbar options (htmlArea RTE only) keepButtonGroupTogether = 1 // Enable status bar (htmlArea RTE only) showStatusBar = 1 // Color picker matrix disabled disableColorPicker = 0 // Color selection dialog disabled disableSelectColor = 0 // Hide font faces hideFontFaces = * // Hide font size hideFontSizes = * // RTE stylesheet contentCSS = fileadmin/template/css/editeur.css // Remove HTML comments removeComments = 1 // Remove HTML tags removeTags = font // Remove HTML tags and their content removeTagsAndContents = // Use CSS formatting when possible useCSS = 1 // Disable enter key for new paragraphs creation disableEnterParagraphs = 0 // Remove trailing BR if any removeTrailingBR = 1 // Hide infrequently used paragraph types in the paragraph type selector (formatblock button) hidePStyleItems = pre,address // Default colors colors = color1,color2,color3,color4,color5,color6 // Configuration specific to the TableOperations feature (htmlArea RTE only) // Remove the following fieldsets from the table operations dialogs disableAlignmentFieldsetInTableOperations = 1 disableSpacingFieldsetInTableOperations = 1 disableColorFieldsetInTableOperations = 1 disableLayoutFieldsetInTableOperations = 1 disableBordersFieldsetInTableOperations = 1 // Processing rules proc { // Transformation method overruleMode = ts_css // Do not convert BR into linebreaks dontConvBRtoParagraph = 1 // Map paragraph tag remapParagraphTag = p // Tags allowed allowTags = a, abbr, acronym, address, blockquote, b, br, caption, center, cite, code, div, em, font, h1, h2, h3, h4, h5, h6, hr, i, img, li, link, ol, p, pre, q, sdfield, span, strike, strong, sub, sup, table, thead, tbody, tfoot, td, th, tr, tt, u, ul // Tags denied denyTags > // Attributes to keep for P & DIV keepPDIVattribs = xml:lang,class,style,align // Tags allowed outside

and

tags allowTagsOutside = img,hr,table,tr,th,td,h1,h2,h3,h4,h5,h6,br,ul,ol,li,pre,address // Tags allowed in Typolists allowTagsInTypolists = br,font,b,i,u,a,img,span // Keep unknown tags dontRemoveUnknownTags_db = 1 // Allow tables preserveTables = 1 // Entry HTML parser entryHTMLparser_db = 1 entryHTMLparser_db { // Tags allowed allowTags < RTE.default.proc.allowTags // Tags denied denyTags > // HTML special characters htmlSpecialChars = 0 // Allow IMG tags tags.img > // Allow attributes tags.span.fixAttrib.style.unset > tags.p.fixAttrib.align.unset > tags.div.fixAttrib.align.unset > // Additionnal attributes for P & DIV div.allowedAttribs = class,style,align p.allowedAttribs = class,style,align // Tags to remove removeTags = center, font, o:p, sdfield, strike, u // Keep non matched tags keepNonMatchedTags = 1 } // HTML parser HTMLparser_db { // Strip attributes noAttrib = br // XHTML compliance xhtml_cleaning = 1 } // Exit HTML parser exitHTMLparser_db = 1 exitHTMLparser_db { // Remap bold and italic tags.b.remap = strong tags.i.remap = em // Keep non matched tags keepNonMatchedTags = 1 // HTML special character htmlSpecialChars = 0 } } } // MS Word clean options RTE.default.enableWordClean.HTMLparser < RTE.default.proc.entryHTMLparser_db // Frontend RTE configuration RTE.default.FE < RTE.default // Full screen for bodytext (tt_content) TCEFORM.tt_content.bodytext.RTEfullScreenWidth= 100% }