Metadata
- Source
- FLUID-888
- Type
- Bug
- Priority
- Major
- Status
- Closed
- Resolution
- Cannot Reproduce
- Assignee
- Anastasia Cheetham
- Reporter
- Justin Obara
- Created
2008-07-10T14:52:27.000-0400 - Updated
2008-07-10T18:51:14.000-0400 - Versions
-
- 0.4beta1
- Fixed Versions
- N/A
- Component
-
- Inline Edit
Description
When entering a 'tab' character into an in-line edit field, the 'tab' is displayed as a double tab when out of edit mode.
Steps to reproduce:
1) Open the in-line edit demo from the daily build site:
http://build.fluidproject.org/fluid/sample-code/inline-edit/announcements/announcements.html
2) Open one of the in-line edit fields into edit mode
3) Cut and paste this "before tab after tab" into the in-line edit field
4) Press 'enter' to leave the edit mode. Notice that the tab is now a double tab. This is easier to see by using the mouse to gradually highlight the text from one end to the other.
If you re-enter edit mode, notice that the tab is still a single tab
Environments
IE6, IE7 (Win XP)
Comments
-
Justin Obara commented
2008-07-10T14:55:04.000-0400 'screenshot-1' shows the single tab, in edit mode
-
Justin Obara commented
2008-07-10T14:56:26.000-0400 'screenshot-2' shows the double tab, outside of edit mode
-
Justin Obara commented
2008-07-10T18:51:14.000-0400 I did some more testing on this and it turns out that the string used actually had two tab calls.
The issue was that the first tab only move 1 character and the second moved the full tab, in the text editor.
This was because of the amount of text before the first tab call. The tab in inline edit was read as two full tabs.