[TYPO3] RTE: Span tags being removed from content
Cyprian Kowalczyk
cyprian at pi2.pl
Fri Jun 23 00:55:31 CEST 2006
Here is my RTE config places in the page's TSconfig:
RTE.default {
showButtons (
blockstylelabel, blockstyle, textstylelabel, textstyle, formatblock,
bold, italic, subscript, superscript,
left, center, right, justifyfull, orderedlist, unorderedlist,
textindicator, insertcharacter, line, link, image, table,
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/styles.css
classesCharacter >
classesParagraph >
enableWordClean = 1
removeTrailingBR = 1
removeComments = 1
proc {
overruleMode = ts_css
dontConvBRtoParagraph = 1
allowTagsOutside = hr, address
allowTags (
a, abbr, acronym, address, blockquote, b, br, caption, cite, code,
div, em,
h1, h2, h3, h4, h5, h6, hr, i, img, li, link, ol, p, pre, q, sdfield,
span, strong, sub, sup, table, tbody, td, th, tr, tt, ul
)
denyTags >
keepPDIVattribs = xml:lang,class,align
entryHTMLparser_db = 1
entryHTMLparser_db {
allowTags < RTE.default.proc.allowTags
denyTags >
htmlSpecialChars = 0
tags {
img.allowedAttribs >
img.rmTagIfNoAttrib = 1
span.fixAttrib.style.unset >
span.fixAttrib.class.unset >
p.fixAttrib.align.unset >
div.fixAttrib.align.unset >
hr.allowedAttribs = class
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
}
removeTags = center, font, o:p, sdfield, strike, u
keepNonMatchedTags = protect
}
HTMLparser_db = 1
HTMLparser_db {
noAttrib = br
xhtml_cleaning = 1
}
exitHTMLparser_db = 1
exitHTMLparser_db {
allowTags < RTE.default.proc.allowTags
denyTags >
tags.b.remap = strong
tags.i.remap = em
keepNonMatchedTags = 1
htmlSpecialChars = 0
}
}
}
RTE.default.enableWordClean.HTMLparser <
RTE.default.proc.entryHTMLparser_db
RTE.default.FE.proc < RTE.default.proc
RTE.config.tt_content.bodytext >
RTE.config.tt_content.bodytext.proc.overruleMode = ts_css
RTE.config.tt_content.bodytext.types.text.proc.overruleMode = ts_css
RTE.config.tt_content.bodytext.types.textpic.proc.overruleMode = ts_css
----
I would really appreciate some help.
- cyprian
More information about the TYPO3-english
mailing list