Last modified: 2014-08-25 14:52:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53624, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51624 - VisualEditor: Delete immediately before (or backspace after) a table cell moves text out of/into cell
VisualEditor: Delete immediately before (or backspace after) a table cell mov...
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-18 16:59 UTC by Chris McKenna
Modified: 2014-08-25 14:52 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chris McKenna 2013-07-18 16:59:26 UTC
User:NicoV at the English Wikipedia reports:
*In [[The Drover's Boy]], if you put the cursor just before the table and hit Del, the first title (Song title) is put outside the table while Performes becomes the first title.
*I saw this because I tried to insert a template just before the table, then deleted it => an empty line was visible before the table. When trying to delete this empty line, the first title was put outside the table.

I did some more testing and can confirm that:
*Pressing delete after the last character before a table deletes the first cell and moves the contents out of the table, and moves the second cell (including formatting) to the former position of the first cell. The position of the second cell is replaced with a blank cell.
*The same happens when pressing backspace before the first character of the first cell
*After repeating this sufficient times the contents of the last cell on the first line is moved out of the table and the line deleted.
*Pressing delete after the last character in the last cell, or backspace before the first character after the last cell, moves the whole of the next line (or title) into the last cell of the table, preserving formatting and links, etc.
Comment 1 Chris McKenna 2013-07-19 08:56:46 UTC
A user at en.wp has reported what appears to be the same bug also occurring with image captions:
"Suppose an image lives between paragraphs 1 and 2. If I click before the first word of paragraph 2 and press "backspace", the rest of paragraph 2 gets moved into the caption of the image.

Suppose an image lives between paragraphs 1 and 2. If I click after the last word of paragraph 1 and press "delete", the image disappears and the caption gets moved to the end paragraph 1."
Comment 2 Anna Koval 2014-02-12 18:32:04 UTC
A user on Polish Wikipedia reports this is happening there, too. Please see Bug:61272.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links