[TYPO3-RTE] Automatic word clean?
Stanislas Rolland
typo3 at sjbr.ca
Mon Dec 1 23:58:18 CET 2008
Hi Christopher,
Try:
RTE.default.proc.entryHTMLparser_db = 1
> RTE.default.proc.entryHTMLparser_db {
> noAttrib = b, i, u, strike, sub, sup
> # Remove if no attribs:
> rmTagIfNoAttrib = span, div, font
>
> tags {
> p.fixAttrib.align.unset >
> div.fixAttrib.align.unset >
> font.allowedAttribs = color, face, size
> p.allowedAttribs = class, style, align
>
> # PROBLEM: does not work
> h1.remap = b
> h2.remap = b
> h3.remap = b
> h4.remap = b
> h5.remap = b
> h6.remap = b
> }
> }
RTE.default.enableWordClean.HTMLparser < RTE.default.proc.entryHTMLparser_db
Stanislas
P.S. If the headings are not remapped on save, then I am not sure why.
Perhaphs there is a problem in the TYPO3 html parser function.
More information about the TYPO3-project-rte
mailing list