Closed Bug 1640981 Opened 4 years ago Closed 4 years ago

When pasting a table in a text area or content editable the format is not present

Categories

(Core :: DOM: Serializers, defect)

78 Branch
ARM
Android
defect

Tracking

()

RESOLVED INVALID
Tracking Status
firefox78 --- wontfix

People

(Reporter: diana.rus, Unassigned)

References

(Blocks 1 open bug)

Details

Device: Samsung Galaxy Note 10 (Android 10), Google Pixel 3 XL (Android 9)
Build: Fenix Nightly/Firefox Preview Nightly 5/26

  1. Open Firefox Preview browser and go to: https://dataride.uci.ch/Results/iframe/EventResults/220062?competitionId=59800&disciplineId=7 .
  2. Have a sheet with table created.
  3. Long tap on a word from the headers table and drag the handels in order to select the information.
  4. Choose option "Copy".
  5. Go to https://www.w3schools.com/tags/tag_textarea.asp / https://results.totallympics.com/forum.php?mod=post&action=newthread&fid=37.

Expected Result: The information is pasted. The data and the format are correctly displayed in the sheet

Actual Result: The pasted information does not contain the entire format of the table.

  1. Screenshot -text area
  2. Screenshot - content editable
Summary: When pasting a table in a text area the format is not present → When pasting a table in a text area or content editable the format is not present

(In reply to Diana Rus from comment #0)

  1. Screenshot -text area

textarea is only text, does not contain format, I think it is expected.

  1. Screenshot - content editable

I don't have an account on totallympics.com, so I did not test it.
But I tested the copied data on https://html-online.com/editor/, Chrome almost behaves the same, only some indention and alignment is different.
Could you help to confirm Chrome's behavior on totallympics.com? Thanks.

Flags: needinfo?(diana.rus)

Hi, confirmed, it's the same on Chrome with both sites. As in chrome when pasting seems to paste at another font size.
Should we close this?

Flags: needinfo?(diana.rus)

(In reply to Diana Rus from comment #2)

Should we close this?

Let's close this one. Thanks!

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.