Page MenuHomePhabricator

When a table needs to wrap up input text, typing white spaces entered in front of the text make a cursor go forward and back
Closed, ResolvedPublic

Description

wmf22
Steps to reproduce:

  1. Insert a table inline with some images on a page - see the attached screenshot. Or, add columns to a table, so it occupies almost the whole CE width.

Screen_Shot_2015-03-26_at_2.34.12_PM.png (321×1 px, 32 KB)

Make sure that the number of columns in the table should allow the input text to be wrapped, not to cause the whole table to move down.

  1. Enter some text to fill out three lines - all lines are wrapped up automatically.
  1. Place the cursor in front of the third line and hit white space.

The cursor will move one space forward right-> then hit white space again, and the cursor will move backward one space.

Note: click repeatedly, and the added white spaces will move/wrap words successfully. That makes the bug's priority Lowest.

Event Timeline

Etonkovidova raised the priority of this task from to Lowest.
Etonkovidova updated the task description. (Show Details)
Etonkovidova added a project: VisualEditor.
Etonkovidova subscribed.
Aklapper renamed this task from Tables: when a table needs to wrap up input text, typing white spaces entered in front of the text mak a cursor go forward and back to When a table needs to wrap up input text, typing white spaces entered in front of the text make a cursor go forward and back.Mar 27 2015, 11:33 AM
Aklapper added a project: VisualEditor-Tables.
Aklapper set Security to None.
matmarex subscribed.

I can't reproduce this today. I think this was caused by VE using   when there were multiple spaces next to each other, and thus has been resolved by the patch for T55931: VisualEditor: Move to using white-space: pre-wrap instead of using nbsp's to fake spaces.