[TYPO3-RTE] <SPAN> Tag lost

Martin Brulisauer martin.brulisauer at tux-gmbh.ch
Fri Jan 27 16:35:10 CET 2006


Hi List


After several hours of trial-and-error I would like to ask you for

some help using the rtehtmlarea extenstion. If I mark some text

in the editor and insert a <span> tag, the tag will remain when

switching from rte to html mode but the tag will be removed when

I store the page to the database. What is missing in the PageTS

configuration. The current configuration is as follows:



RTE.default {

showButtons = blockstylelabel, blockstyle, textstylelabel, textstyle, 
formatblock, bold, italic, underline, strikthrough, subscript, superscript, 
left, center, right, justifyfull, oderedlist, unorderedlist, outdent, 
indent, textcolor, bgcolor, textindicator, emoticon, insertcharacter, line, 
link, image, table, user, acronym, findreplace, 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

contentCSS = fileadmin/style/rte.css

useCSS = 1


ignoreMainStyleOverride = 1

showTagFreeClasses = 1

disableColorPicker = 1

disableSelectColor = 0

disableEnterParagraph = 1

classesAnchor = underline, navbar

classesParagraph = nomargin, sidemenu


hideButtons = lefttoright, righttoleft, inserttag, fontstyle, fontsize

hidePStyleItems = PRE, FONT

hideTags = font, font (full)

showStatusBar = 1

proc {

overruleMode = ts_css

dontConvBRtoParagraph = 1

allowTagsOutside = img,hr

allowTags = table, tbody, tr, th, td, h1, h2, h3, h4, h5, h6, div, p, br, 
span, ul, ol, li, re, blockquote, strong, em, b, i, u, sub, sup, strike, a, 
img, nobr, hr, tt, q, cite, abbr, acronym

denyTags = font

keepPDIVattribs = align,class,style

HTMLparser_rte {

allowTags < RTE.default.proc.allowTags

removeTags < RTE.default.proc.denyTags

keepNonMatchedTags = 0

}

entryHTMLparser_db = 1

entryHTMLparser_db {

allowTags < RTE.default.proc.allowTags

denyTags < RTE.default.proc.denyTags

xhtml_cleaning = 1

noAttrib = b, i, u, strike, sub, sup, strong, em, quote, blockquote, cite, 
tt, br, center

tags.hr.allowedAttribs = class

tags.b.remap = strong

tags.i.remap = em

rmTagIfNoAttrib = span,div,font

htmlSpecialChars = 0

}

HTMLparser_db = 1

HTMLparser_db {

noAttrib = br

xhtml_cleaning = 1

}

exitHTMLparser_db = 1

exitHTMLparser_db {

tags.b.remap = strong

tags.i.remap = em

keepNonMatchedTags = 1

htmlSpecialChars = 0

}

}

tt_content.bodytext >

tt_content.bodytext.proc.overruleMode = ts_css

tt_content.bodytext.types.text.proc.overruleMode = ts_css

tt_content.bodytext.types.textpic.proc.overruleMode = ts_css

colors = color1, color2, color3, color4, color5, color6, color7, color8

}

RTE.colors {

color1 {

name = dunkelblau

value = #000066

}

color2 {

name = blau

value = #00008B

}

color3 {

name = rotbraun

value = #B22222

}

color4 {

name = dunkelrot

value = #CC3300

}

color5 {

name = mittelbraun

value = #D2691E

}

color6 {

name = orange

value = #FF9933

}

color7 {

name = pfirsich

value = #FFDAB9

}

color8 {

name = natur

value = #FDF5E6

}

}



Many thanks and best regards

Martin Brulisauer (bruli)






More information about the TYPO3-project-rte mailing list