######################## CONFIGURATION RTE #################### RTE { // Colors definition colors { color1 { name = Rouge value = #CC0000 } color2 { name = Gris clair value = #E7E6E1 } color3 { name = Gris foncé value = #333333 } } // Classes definition classes > classes { cadre_rouge_texte_blanc.name = Cadre rouge texte blanc cadre_gris_fonce_texte_blanc.name = Cadre gris texte blanc cadre_gris_clair_texte_noir.name = Cadre gris clair texte noir cadre_blanc_contour_noir.name = Cadre blanc contour noir contenu_portrait.name = cadre contenu portrait contenu_projets.name = cadre contenu projets } // Anchor classes definition classesAnchor > classesAnchor { // Extenral 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 } } proc.allowedClasses > // Default RTE configuration (all tables) //correcteur ortographique defaultContentLanguage = fr buttons.spellcheck.dictionaries.fr.defaultValue = fr buttons.spellcheck.dictionaries.items = fr buttons.spellcheck.dictionaries.restrictToItems = fr default { // Disable RTE disable = 0 // Available classes for HTML elements classesParagraph > classesTable > classesTD > classesLinks > classesCharacter > classesAnchor > classesImage > // Anchor classes classesAnchor = external-link,external-link-new-window,internal-link,internal-link-new-window,download,mail,lien_encadre_en_noir // Default anchor classes classesAnchor.default { page = internal-link url = external-link-new-window file = download mail = mail } // Show tags from content CSS showTagFreeClasses = 0 // Disable examples styles disablePCexamples = 1 // Disable Typo3 specific browsers disableTYPO3Browsers = 0 // Tab elements to remove in the picture popup blindImageOptions > // Default target for links defaultLinkTarget = _self // Tab elements to remove in the link popup blindLinkOptions > // Buttons to show showButtons = * // Buttons to hide hideButtons = fontstyle, fontsize, bgcolor, emoticon, user // Toolbar order toolbarOrder = formatblock, blockstyle, textstyle, space, bar, space, strong, italic, underline, strikethrough, subscript, superscript, space, bar, space, left, center, right, justifyfull, space, bar, space, textcolor, textindicator, linebreak, space, bar, space, orderedlist, unorderedlist, outdent, indent, space, bar, space, unlink, link, image, insertcharacter, line, table, abbreviation, inserttag, linebreak, findreplace, removeformat, spellcheck, space, bar, space, copy, cut, paste, space, bar, space, undo, redo, space, bar, space, chMode, showhelp, about, linebreak, toggleborders, space, bar, space, tableproperties, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge // Group buttons (Mozilla only) keepButtonGroupTogether = 1 // Hide table operations hideTableOperationsInToolbar = 0 // Show toggle borders item even if table operations are disabled keepToggleBordersInToolbar = 0 // Disable contextual menu disableContextMenu = 0 disableRightClick = 0 // Display status bar showStatusBar = 1 // Disable color picker disableColorPicker = 0 // Disable color selector disableSelectColor = 0 // RTE stylesheet contentCSS = typo3conf/ext/e_tca_extented/res/template/styles/rte.css // MS Word cleaning enableWordClean = 1 // Remove HTML comments removeComments = 1 // Remove HTML tags removeTags = // 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 tags in the quick tag plugin hideTags = font, font (full) // Disable table attributes for table operations disableAlignmentFieldsetInTableOperations = 0 disableSpacingFieldsetInTableOperations = 0 disableColorFieldsetInTableOperations = 0 disableLayoutFieldsetInTableOperations = 0 disableBordersFieldsetInTableOperations = 0 // Colors available colors = color1,color2,color3,color4,color5 //correcteur orthographique defaultContentLanguage = fr buttons.spellcheck.dictionaries.fr.defaultValue = fr buttons.spellcheck.dictionaries.items = fr buttons.spellcheck.dictionaries.restrictToItems = fr ContentLanguage = fr // 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, abbreviation, 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 // Permet de garder les styles lors de l'enregistrement allowedClasses > // Tags allowed outside

and

tags allowTagsOutside = img,hr,table,tr,th,td,h1,h2,h3,h4,h5,h6,br,ul,ol,li,pre,address,u // 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.hr.fixAttrib.style.unset > //tags.hr.allowedAttribs = class // Tags to remove removeTags = o:p, sdfield // Keep non matched tags keepNonMatchedTags = protect #tags.strong.remap = b tags.em.remap = i } // HTML parser HTMLparser_db { // Strip attributes noAttrib = br,hr // 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 RTE.default.FE.hideButtons = fontstyle, fontsize, bgcolor, emoticon, user,formatblock, blockstyle, textstyle, strikethrough, subscript, superscript, left, center, right, justifyfull, textcolor, textindicator, image, insertcharacter, line, table, abbreviation, inserttag, findreplace, removeformat, spellcheck,showhelp, about, linebreak, tableproperties, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete,chMode, columnsplit, cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge RTE.default.FE.toolbarOrder = formatblock, blockstyle, textstyle, bold, italic, underline, strikethrough, subscript, superscript, left, center, right, justifyfull, textcolor, textindicator, lefttoright, righttoleft, orderedlist, unorderedlist, outdent, indent, link, image, insertcharacter, line, table, abbreviation, inserttag, findreplace, removeformat, spellcheck, copy, cut, paste, undo, redo, chMode, showhelp, about, toggleborders, tableproperties, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge // Frontend RTE configuration RTE.default.FE_reduit < RTE.default RTE.default.FE.RTEWidthOverride = 400 RTE.default.FE_reduit.showButtons> RTE.default.FE_reduit.showButtons = bold, italic, underline RTE.default.FE_reduit.toolbarOrder= bold, italic, underline RTE.default.FE_reduit.keepButtonGroupTogether=1