[TYPO3-RTE] Indentation using wrapper DIVs
Stanislas Rolland
typo3 at sjbr.ca
Thu Aug 28 22:58:05 CEST 2008
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