It's not in the docs as it's not really part of the API. It converts
<br>'s to line breaks before it displays the textarea. It does not
convert back again as this is the responsibility of the server. This
seems to be the desired behaviour a lot of times, but not always.
Hence it should be configurable.

To be honest, this feature has caused quite a bit of confusion and
maybe there should be a better way of doing it.

Cheers,
Jon

On 3/28/06, Deco Rior <[EMAIL PROTECTED]> wrote:
> Can someone explain what *convertHTMLLineBreaks* does? I could not
> find it in the docs!
>
> Does this actually take line breaks that you type into the text area
> and convert them??
>
> Deco
>
> On Mar 27, 2006, at 12:27 PM, Jamie Orchard-Hays wrote:
>
> > I'm curious if anyone else has a need to disable
> > *convertHTMLLineBreaks*. I actually need to show the <p>'s and
> > <br>'s in the editor and browsing the source code, see that this
> > isn't configurable.
> >
> > Jamie
> > _______________________________________________
> > Rails-spinoffs mailing list
> > Rails-spinoffs@lists.rubyonrails.org
> > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to