######################## 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