[TYPO3] Indentation problem in typo3 4.2.1

Walrick Bosch lists at globalhealingcircle.net
Fri Aug 29 13:01:22 CEST 2008


Hello Joerg,

I didn't realise there was a seperate list for RTE. Thanks for your 
reply. It indeed solves the problem.

Regards,

Walrick

--

Joerg Wagner wrote:
> I asked that same question in [TYPO3-RTE] (where it belongs).
> Stanislas Rolland replied instantaneously:
> 
> -- 
>  > Re: [TYPO3-RTE] Indentation using wrapper DIVs
>  > Joerg Wagner a écrit :
>  >>
>  >> since TYPO3 4.2 the RTE by default uses wrapper DIVs to indent block
>  >> elements. Unfortunatelly there seems to be a problem with that
>  >> technique: The FE partially replaces the DIV tags by P tags and this
>  >> prevents the indenting from working correctly.
>  >> ...
> 
>  > I think you're right, and that CSS Styled Content should have been
>  > updated.
> 
>  > Please try to add the following lines to your TS template:
> 
>  > lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.encapsTagList := 
> removeFromList(div)
>  > lib.parseFunc_RTE.externalBlocks := addToList(div)
>  > lib.parseFunc_RTE.externalBlocks.div.stripNL = 1
>  > lib.parseFunc_RTE.externalBlocks.div.callRecursive = 1
> 
>  > Regards,
>  > Stanislas
> -- 
> 
> 
> Works like a charm!


More information about the TYPO3-english mailing list