Closed Bug 1164884 Opened 9 years ago Closed 5 years ago

Problem copy and paste table from web page to web page

Categories

(Core :: DOM: Editor, defect)

38 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 707958

People

(Reporter: gon4iky, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36

Steps to reproduce:

I open Conluence page where have table. 
Click button edit page where copy table,
and paste. 









 


Actual results:

But result I see line then table.


Expected results:

I see a line,

in fact, FF 38 and 37 don't copy tags 
(<table> <tbody> </tbody> </table>)
into web page.
Provide a testcase or page link, please.
Flags: needinfo?(gon4iky)
This is corporate system, where don't have any access to the Internet.

We can freeze this ticket, maybe same ticket will be create.
Do you agree?
Flags: needinfo?(gon4iky)
The issue is we need a testcase to try to reproduce the bug and debug. Without, it's hard to do something...
Gonchik, is it about Atlassian Confluence?
Keywords: testcase-wanted
This test case is drawn from an email message discussed in this SuMo thread: https://support.mozilla.org/questions/1090559 

The message contained three adjacent tables. In other words, there are no non-table elements between the tables.

Attempting to select/copy/paste a table without starting from and ending with a non-table element results in at least one table pasting only as a set of row elements. When saving as a draft or sending from Gmail, the table structure collapses.
Component: Untriaged → Editor
Product: Firefox → Core
I don't really understand the testcase. I can only select a table with the mouse, not all the 3.
I can select all the tables with Ctrl+A, that's all.
Apologies for the delayed response. 

The problem illustrated by the test case is the difficulty (impossibility?) of successfully copying and pasting a _single_ table, particularly the middle table, when the table you want to select is immediately adjacent to another table. What you paste in the editable area below the tables isn't a complete HTML table. I guess you need to use the Inspector to confirm that, but you can see from the missing header row shading that the <thead> element isn't included in the paste, just the <tr> element it contained.
Removing "testcase-wanted" keyword as it was already added on comment5.
Keywords: testcase-wanted
Keywords: testcase
This is reproducible. Changing its status to "New".
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: