[Typo3-german] <p>-tags um <ul>
j- meconen
meconen at cyperfection.de
Wed Jul 27 12:22:25 CEST 2005
Robert Markula wrote:
> Ich habe das Problem, dass Listen, die im RTE (rtehtmlarea) eingefügt
> werden, so gewrappt werden:
> <p><ul>
> <li>...</li>
> </ul</p>
>
> Die <ul>-Tags werden also in <p>-Tags gewrappt.
>
> Wie kann ich das abstellen? Ich habe mich durch jede Menge
> Newsgroup-Beiträge und Artikel zu dem Thema durchgewühlt, aber bis jetzt
> hat keine der beschriebenen Lösungen funktioniert.
>
> Mein TS Setup:
> lib.parseFunc_RTE {
> externalBlocks = h4,h5,ul,ol,blockquote,table
> allowTags =
> b,i,u,strong,em,a,img,p,h1,h2,h3,h4,h5,h6,ul,ol,li,blockquote,table,thead,tbody,tr,th,td,cite,abbr
>
> denyTags = *
> nonTypoTagStdWrap.encapsLines {
> addAttributes >
> encapsTagList = p,h1,h2,h3,h4,h5,h6,ul,ol,blockquote,table
> }
> }
>
> Grüße,
> Ro
Servus Robert,
probier mal das
tt_content.text.20.parseFunc {
externalBlocks = ol, ul
externalBlocks.ul.stdWrap.parseFunc < tt_content.text.20.parseFunc
externalBlocks.ul.stdWrap.parseFunc {
externalBlocks =
nonTypoTagStdWrap.encapsLines.encapsTagList = p, div, a,
nonTypoTagStdWrap.encapsLines.nonWrappedTag >
nonTypoTagStdWrap.encapsLines.wrapNonWrappedLines = |
}
externalBlocks.ol.stdWrap.parseFunc < externalBlocks.ul.stdWrap.parseFunc
externalBlocks.ol.stripNL = 1
externalBlocks.ul.stripNL = 1
nonTypoTagStdWrap.textStyle.altWrap =|
nonTypoTagStdWrap.encapsLines.encapsTagList = p, div, a
nonTypoTagStdWrap.encapsLines.nonWrappedTag >
nonTypoTagStdWrap.encapsLines.wrapNonWrappedLines = <p> | </p>
}
ins Setup-Feld!
Grüße
j- meconen
More information about the TYPO3-german
mailing list