[TYPO3-RTE] align attribute gets deleted from <p> tags
Florian Seirer
f.seirer at tirol.gv.at
Wed Feb 8 13:27:38 CET 2006
I found a solution for my problem by myself (and a little hint by
Stanislas Rolland).
After adding the lines
RTE.default.proc {
keepPDIVattribs = align,style,class
entryHTMLparser_db.tags {
span.fixAttrib.style.unset >
p.fixAttrib.style.unset >
p.fixAttrib.align.unset >
p.fixAttrib.class.unset >
}
to my page TS I can now insert content like
<p style="color: green;" class="test" align="right">Test</p> or
<p align="right"><span style="font-size: 2em;">Test2</span></p>
without getting cut.
Florian Seirer schrieb:
> Hi list!
>
> Every time I want to align a text paragraph to the right side or
> elsewhere (<p align="right">) the align attribute gets deleted when I
> click the save button.
>
> This happens in "typical" and "advanced" mode of RTE (v1.1.3). In "demo"
> mode it works fine, but there I do not have the table options in the
> toolbar.
>
> Any ideas?
More information about the TYPO3-project-rte
mailing list