[TYPO3-RTE] Indentation using wrapper DIVs

Joerg Wagner news.netfielders.de at digilog.de
Fri Aug 29 08:50:04 CEST 2008


Many thanks Stanislas,

this solves the problem instantly!
I suppose it will become part of the CSS Styled Content system extension?

Cheers,
Jörg.


Stanislas Rolland schrieb:
> 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.
>> ...
>>
>> Any idea how I can solve this?
>>
> 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


More information about the TYPO3-project-rte mailing list