[TYPO3] Indentation problem in typo3 4.2.1

Joerg Wagner news.netfielders.de at digilog.de
Fri Aug 29 09:06:59 CEST 2008


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!
--
Cheers,
Jörg Wagner.
DigiLog multimedia



Christopher Torgalson schrieb:
> 
> On 27-Aug-08, at 4:45 PM, Walrick Bosch wrote:
> 
>> Hi,
>>
>> Well, tried it, but it isn't working. Of course the htmlarea RTE
>> documentation talks about a lot of Page TSConfig. Which I am not using
>> at the moment. But I'm not sure that's where the problem is.
>>
>> I could of course revert to the old blockqoute feature using the install
>> tool.
>>
>> Where could I report this a a bug?
> 
> In fact, I don't think it is a bug--you should check your TSconfig 
> first. It looks like the RTE inserts the class in a div surrounding the 
> h3, but that div is transformed into a p on saving. It should be 
> possible to override that particular transformation.
> 
> -- 
> Christopher Torgalson
> http://www.typo3apprentice.com/
> 
> 
> 
> 
> 


More information about the TYPO3-english mailing list