FLUID-890: Text after newline character ignored

Metadata

Source
FLUID-890
Type
Bug
Priority
Major
Status
Closed
Resolution
Won't Fix
Assignee
Colin Clark
Reporter
Justin Obara
Created
2008-07-10T16:55:27.000-0400
Updated
2008-11-07T12:45:48.000-0500
Versions
  1. 0.1
  2. 0.3
  3. 0.4beta1
  4. 0.4
  5. 0.5
  6. 0.6beta1
Fixed Versions
N/A
Component
  1. Inline Edit

Description

Any text after a newline character is ignored. It should wrap to another line.

Steps to reproduce:

1) Open in-line edit demo from the the daily build site:
http://build.fluidproject.org/fluid/sample-code/inline-edit/announcements/announcements.html

2) Open an in-line edit field in edit mode

3) cut & paste the following text:

"before newline
after newline"

Notice that only the first line is displayed and all the text that came after the newline characters are ignored

Environments

FF2 (Mac OS X)
FF2, IE6, IE7 (Win XP)

Comments

  • Justin Obara commented 2008-10-31T09:33:08.000-0400

    design-watched

  • Antranig Basman commented 2008-11-03T14:14:01.000-0500

    This is a native browser/OS issue - pasting of "special characters" is going to be something near difficult/impossible to intercept or modify by means of Javascript.

  • Antranig Basman commented 2008-11-07T12:45:48.000-0500

    This issue cannot be resolved. I have added some material to the test cases which are supplied for FLUID-1767 to verify the phenomenon. "Interestingly", if the edit field is observed using the debugger at a critical point, the newlines will be preserved and the test will pass. If the field is not observed at any point in the cycle, the newline will be "magically" removed by the browser and the test will fail.