Page MenuHomePhabricator

Allow copy/paste of cell formatting in Visual Editor Tables
Open, LowPublic


I am managing a project which has a large table that visualises progress with the use of cell colours.
I am able to use Visual Editor for nearly all of the work in managing this table EXCEPT the handling of these cell colours.

I would like to be able to NOT ONLY copy-paste the contents of a cell, but ALSO the formatting of that cell.

For example:
When I have a cell that is: Navy blue background; white text; and "100" and I copy it in VE, all that gets pasted in the next cell is the "100". This means that I then have to go into code-editor and copy-paste the style elements too. Specifically this:

| style="background: navy; color: white;" |100

For reference, this is the project page I'm referring to:

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 13 2018, 12:17 PM
Restricted Application added a project: VisualEditor. · View Herald TranscriptMar 13 2018, 4:27 PM
jhsoby added a subscriber: jhsoby.

Maybe related to T54180?

matmarex updated the task description. (Show Details)Mar 15 2018, 1:32 PM
matmarex added a subscriber: matmarex.

VE only pastes the cell formatting that it understands and can edit – it will copy-paste the cell "type" (header vs content) and rowspan/colspan values. It won't copy-paste any other attributes. So yes, this might require T54180 first.

Deskana triaged this task as Low priority.Aug 17 2018, 10:31 AM
Deskana moved this task from To Triage to Freezer on the VisualEditor board.
Mrjohncummings rescinded a token.
Mrjohncummings awarded a token.