Talk:Fb:editor-textarea

From Facebook Developer Wiki

Jump to: navigation, search

[edit] Handling line-feeds

I had an issue with this subject that was resolved - so I'm mentioning it here - in case someone else will encounter this.
I wanted to write the posted content from a textarea to a (text) file, and I wanted to preserve the line feeds. A posted text from a textarea includes "\n" (line-feeds) but if you want to display or add it correctly you need also to add "\r" (carriage-return) - so you should replace all occurrences of "\n" in the string with "\r\n"
693032976 01:45, 20 November 2007 (PST)

[edit] Max Character

That would be a great feature for this. --41502060 15:44, 23 October 2008 (PDT)

Completely agree!! --1557560908 14:38, 27 May 2009 (PDT)

[edit] cols attribute

Why not?

reference