[TYPO3-UG Dutch] htmlArea RTE plaatst <p> tags rondom <object>

René van Densen statusnil at gmail.com
Fri Aug 21 11:56:36 CEST 2009


Hallo,

in de Rich Type Editor (htmlarea_rte) worden door de eindgebruiker
youtube-embed codes geplaatst. Deze komen op de site als leesbare tekst
tevoorschijn (dus <object etc gewoon zo leesbaar). Misschien zit het in de
CSS, dat weet ik niet, maar feit is dat de RTE zelf <p> tags plaatst rondom
<object>. Ik heb de volgende Page TSconfig toegevoegd:

RTE.default {
    proc {
        allowTags= a, abbr, acronym, address, b, bdo, big, blockquote, br,
caption, center, cite, code, col, colgroup, del, dfn, div, em, font, h1, h2,
h3, h4, h5, h6, hr, i, img, ins, kbd, label, li, link, meta, ol, p, pre, q,
samp, sdfield, small, span, strike, strong, style, sub, sup, table, thead,
tbody, tfoot, td, th, tr, title, tt, u, ul, var, object, param, embed
        entryHTMLparser_db.allowTags=  a, abbr, acronym, address, b, bdo,
big, blockquote, br, caption, center, cite, code, col, colgroup, del, dfn,
div, em, font, h1, h2, h3, h4, h5, h6, hr, i, img, ins, kbd, label, li,
link, meta, ol, p, pre, q, samp, sdfield, small, span, strike, strong,
style, sub, sup, table, thead, tbody, tfoot, td, th, tr, title, tt, u, ul,
var, object, param, embed
        tags {
            object {
                allowedAttribs = width, height
            }
            param {
                allowedAttribs = name, value
            }
            embed {
                allowedAttribs = src, type, allowscriptaccess,
allowfullscreen, width, height
            }
        }
        keepNonMatchedTags = protect
    }
}
[p]
[allowedAttribs] = id, title, dir, lang, xml:lang, class
[fixAttrib]
[align]
[unset] = 1

Maar wat ik ook probeer, de youtube-code blijft als leesbare tekst opdagen.
Wat zie ik hier over het hoofd, heeft iemand hier ervaring mee ?

Alvast dank,

René van Densen


More information about the TYPO3-UG-Dutch mailing list