bernat/best_in_place — Issue #62: line breaks in textareas
Author: brianmaissy
Created: 2011-12-20 12:53:36+00:00
State: open

This is a feature request.

When using a textarea, the developer often intends for the field to contain line breaks. Best_in_place doesn't display newlines in textareas as html
tags. It would be really convenient if it did by default, or had an option to.

I was able to implement a workaround with a display_as, but there are two problems with it:
1) During the time between sending the ajax request and receiving the response, it temporarily is displayed without the breaks, and then switches over. This is a little ugly.
2) It's a rather complicated workaround for a really common task.

Let me know if this is already possible and I just missed it.