[TYPO3-RTE] Dont convert <div> to <p>
Dave Slayback
dave at webempoweredchurch.org
Wed May 10 17:07:33 CEST 2006
Hi Stanislas,
I tried this in my Page TSConfig:
RTE.default.proc {
dontConvBRtoParagraph = 1
remapParagraphTag = DIV
keepPDIVattribs = class, style, align, id
}
and even tried remapParagraphTag = 1 (to disable)
and it did not work. I do have RTE.useDefaultCSS=1 set too.
I am trying to get the following being able to be used in RTE:
<div id="section-header">
<div id="orange">GROW WITH GINGHAMSBURG </div>
<div id="green">PRESCHOOL AND CHILDCARE</div>
</div>
Any ideas? Perhaps I am just missing something else?
(This is using Typo3 4.0 / latest htmlareaRTE)
Thanks,
Dave
Stanislas Rolland wrote:
> Chakir Piro a écrit :
>>
>> I'm new on this list and I hope someone can help me out.
>>
>> I'm using T38 and I'm trying to use htmlarea 1.2.
>>
>> Everything seems to be fine, but I still have that Problem with the <div>
>> tags.
>>
>> I need to insert them manually, when I save the Content Element, the
>> <div>
>> tag is replaced with a <p> tag.
>>
> See
> http://typo3.org/documentation/document-library/core-documentation/doc_core_api/current/view/5/2/
>
>
> Have a look at remapParagraphTag set to P in default configuration.
>
> Regards,
> Stanislas
More information about the TYPO3-project-rte
mailing list