[Typo3] Paragraph Bug?
Christopher
tombedlam at yahoo.com
Sat Mar 26 21:27:52 CET 2005
Hi again,
--- Robert Markula <robert.markula at gmx.net> wrote:
> Christopher wrote:
> (...)
> > I actually think what defines the actual characters inserted by
> > [return]/[shift-return] is the way the OS treats html textareas.
> However,
> > Typo3 processes the input, and can be configured to convert - or not to
> > convert - line feeds (<br />) to carriage returns(<p> </p>) [1].
> >
> > As Oliver suggested in his reply, you may need to add this
> >
> > RTE.default.proc {
> > dontConvBRtoParagraph = 1
> > }
> >
> > to the TSconfig field in the page header of your root page.
> >
> >
> > -Christopher
> >
> > [1]
>
http://typo3.org/documentation/document-library/doc_core_tsconfig/Introduction-56/
>
> Hi there
> I know this TS configuration, but it converts all paragraphs to br.
This is impossible; look at the *name* of the property; if you set it to
'1', it will prevent the transformation of <br/> to <p> </p>. If you
set it to '0' it *will* transform line-feeds into html paragraphs. In
neither case does it act on anything except line-feeds.
> How can I do this that normal linebbreaks are converted to br, where as
> double linebreaks (=a blank line) get converted to paragraphs (more
> precisely: the text before the blank line is encapsulated in p-tags and
> the text after the blank line is encapsulated in p-tags)?
>
I don't know how to do this (or if it could be done without an extension),
but what problems are caused if you use the default behaviour ([return] =
<p>...</p> and [shift]-[return] = <br />)?
-Christopher
__________________________________
Do you Yahoo!?
Make Yahoo! your home page
http://www.yahoo.com/r/hs
More information about the TYPO3-english
mailing list