[TYPO3-english] RTE P Tags
Caterina
caterina_kitty at yahoo.com
Wed Jan 14 11:08:49 CET 2009
Hi Sergio,
Certain time ago I had the same problem. If you are using CSS Styled Content extension, you'll need to add few lines of Typoscript into CSS Styled Content default TS configuration file - into setup.txt. Here they are:
lib.parseFunc_RTE {
external_blocks
{
div.stripNL=1
div.stdWrap.parseFunc = < lib.parseFunc
}
nonTypoTagStdWrap.encapsLines {
//you'll need to add to standard list of encapsulated tags tag div. Here is this list
encapsTagList = div,p,pre,h1,h2,h3,h4,h5,h6
//this line removes remapping of div tag
remapTag.DIV >
}
}
In mine case it works. But I have tinyRTE installed, not htmlareaRTE. So I hope it will work in your case too.
Best regards,
Caterina
mailto: caterina_kitty at yahoo.com
________________________________
From: Sergio Catalá <scatala at iti.upv.es>
To: TYPO3 English <typo3-english at lists.netfielders.de>
Sent: Tuesday, 13 January, 2009 13:58:17
Subject: [TYPO3-english] RTE P Tags
Hi list,
My RTE (rtehtmlarea) adds <p></p> tags to some parts of my text. For
example, if I have the next labels:
<div><div><img ... />text</div></div>
RTE converts the code to:
<div><div><p><img ... />text</p></div></div>
I tried everything reading the manual:
RTE.config.tt_content.bodytext.proc.useDIVasParagraphTagForRTE = 1
RTE.default.proc.preserveDIVSections = 1
RTE.default.proc.allowTagsOutside = div
but nothing worked.
Any clue? I can't see where I can disable this default transformation in the manual.
Thanks in advance,
Sergio
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list