[TYPO3-RTE] Dont convert <div> to <p>

Chakir Piro chukks at piromania.com
Fri May 12 15:22:51 CEST 2006


Hi Dave,

Thanks for your answer.
But I'm thinking, perhaps I'm doing something wrong.
Just for testing I've created a new Page and I put your RTE code in the
TSconfig in the page header and I still have the same problem. 
I can't save the <div> tags!! 
I'm using T3.8 with the htmlarea 1.4.1
And I cleared both the FE cache and typo3conf cache.

Thanks for help

Regards,

Chakir



-----Message d'origine-----
De : typo3-project-rte-bounces at lists.netfielders.de
[mailto:typo3-project-rte-bounces at lists.netfielders.de] De la part de Dave
Slayback
Envoyé : jeudi 11 mai 2006 15:52
À : typo3-project-rte at lists.netfielders.de
Objet : Re: [TYPO3-RTE] Dont convert <div> to <p>

Hi Chakir,

Yes, this did work! Thanks Michael. It is not documented but glad it 
works. The div tags are saved along with the p tags. Here is my setup:

RTE.default.useCSS = 1
RTE.default.proc {
	dontConvBRtoParagraph = 1
         keepPDIVattribs = class, style, align, id
         remapParagraphTag =
}

Also, be sure to clear both the FE cache and typo3conf cache  -- had to 
do that before it worked.

-Dave


Chakir Piro wrote:
> Michael,
> I've already tried this, unfortunately without success.
> Did it work for you Dave?
> 
> Chakir
> 
> -----Message d'origine-----
> De : typo3-project-rte-bounces at lists.netfielders.de
> [mailto:typo3-project-rte-bounces at lists.netfielders.de] De la part de
> Michael Cannon
> Envoyé : mercredi 10 mai 2006 23:07
> À : TYPO3 RTE project
> Objet : Re: [TYPO3-RTE] Dont convert <div> to <p>
> 
> Dave,
> 
> Try "RTE.default.proc.remapParagraphTag =" to prevent the remapping.
> 
> Michael
> 
> -----
> Michael Cannon
> President of Cannonbose, LLC
> Tel    : +1 (603) 294-4418         Fax : +1 (802) 609-2776
> 
> 
> 
> _______________________________________________
> TYPO3-project-rte mailing list
> TYPO3-project-rte at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-rte
_______________________________________________
TYPO3-project-rte mailing list
TYPO3-project-rte at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-rte



More information about the TYPO3-project-rte mailing list