Hallo,
ich habe eine Typo3 Seite übernommen, bei der ein seltsames Verhalten auftritt.
Wenn man im RTE mit backspace eine zweite Zeile an die vorhergehende "ranzieht" entsteht um die "herangezogene" Zeile ein span-Tag: <span style="font-size: 13px;">...</span>
Was mag dafür verantwortlich sein, und wie kann ich das abschalten?
beste Grüße,
Christian
Mit dem RTE hab ich mich so noch nicht auseinandergesetzt, daher kann ich auch nicht erkennen, ob hier vll etwas faul ist:
RTE.classes >
RTE.classesAnchor >
RTE.default >
RTE.default {
contentCSS = data/style/rte.css
showButtons = *
proc {
strong.allowedAttribs = class, style
span.allowedAttribs = class, style
preserveDIVSections = 1
overrideMode = css_transform
allowTags = table, tbody, tr, th, td, h1, h2, h3, h4, h5, h6, div, p, br, span, ul, ol, li, strong, em, b, i, u, sub, sup, a, img, hr, abbr, abbreviation, center
table {
fixAttrib.style.unset = 1
fixAttrib.width.unset = 1
fixAttrib.height.unset = 1
}
tr {
fixAttrib.style.unset = 1
fixAttrib.width.unset = 1
fixAttrib.height.unset = 1
}
td {
fixAttrib.style.unset = 1
fixAttrib.width.unset = 1
fixAttrib.height.unset = 1
}
p {
fixAttrib.style.unset = 0
}
entryHTMLparser_db = 1
entryHTMLparser_db {
allowTags < RTE.default.proc.allowTags
denyTags < RTE.default.proc.denyTags
tags {
strong.fixAttrib.align.unset >
strong.allowedAttribs = class,style
}
}
dontConvBRtoParagraph = 1
}
buttons.image.options.plain.maxWidth = 750
}
HTMLparser_rte.allowTags < RTE.default.proc.allowTags
lib.parseFunc_RTE.externalBlocks := addToList(pre)
lib.parseFunc_RTE.externalBlocks {
pre.stripNL=1
pre.stdWrap.parseFunc = < lib.parseFunc
pre.stdWrap.parseFunc.makelinks = 0
}
RTE.default.allowedTags := appendString(,br)