Page MenuHomePhabricator

VisualEditor: Copying part of a table into an existing cell should over-write cell values, not insert it as a sub-table
Closed, ResolvedPublic8 Estimated Story Points

Description

Steps to reproduce:

  1. Begin with an existing wikitext table (e.g., 4 rows, 4 columns). Open the page in VisualEditor.
  1. Copy part of a different table or spreadsheet (e.g., 2 rows, 4 columns).
  1. Place cursor inside a cell of the table in VisualEditor.
  1. Paste the copied table.

Results:

VisualEditor places the entire new/rich-copied table, including wikitext formatting, inside the first cell. The wikitext parser does not deal very gracefully with table-within-table formatting.

Desired outcome:

VisualEditor should overwrite the contents of the cells with the new material.


Version: unspecified
Severity: enhancement
URL: https://en.wikipedia.org/w/index.php?diff=588462959&oldid=588405367#Create_and_copy_table.

Details

Reference
bz59192

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:41 AM
bzimport set Reference to bz59192.

This'll be… hard, to put it mildly. We should think about whether it's what we want to achieve in terms of UX before embarking on it.