[TYPO3-content-rendering] default inline-styles for ul + ol

Michael Bakonyi kontakt at mb-neuemedien.de
Mon Dec 15 15:09:13 CET 2008


Uschi Renziehausen schrieb:
> Hi Michael,
> 
> I just tested the following solution in my installation and it works:
> lib.parseFunc_RTE {
>     externalBlocks = table, blockquote, ol,ul, div, dl, dd, li
>     externalBlocks {
>         ol.stripNL=1
>         ol.callRecursive = 1
>         ol.callRecursive.tagStdWrap.HTMLparser = 1       
>         ol.callRecursive.tagStdWrap.HTMLparser.tags.ol {
>             fixAttrib.style.default = background-color:lime
>             fixAttrib.class.unset = 1
>         }
>     }
> }
> 
> The p comes in when you do not add li to the list of external blocks.

Hi Uschi,

yes, indeed that was it! Thanks a lot for your help!

Btw. where can I find any documentation about the code above? I don't 
understand what it does, I was just playing around to come to this 
solution ...

Michael


More information about the TYPO3-project-content-rendering mailing list