thanks guys. I'll whip up a patch. In the meantime, I just rewrote
the method in my own javascript file:
//Need to override the default behavior of the InPlaceEditor to not
convert <p> and <br> tags
Object.extend(Ajax.InPlaceEditor.prototype, {
convertHTMLLineBreaks: function(string) {
return string;
}
});
On Mar 27, 2006, at 2:35 PM, Jon Tirsen wrote:
Yes, that should obviously be configurable. Submit a patch and I'm
sure you'll get it committed.
On 3/28/06, Jamie Orchard-Hays <[EMAIL PROTECTED]> 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