Closed Bug 1344512 Opened 7 years ago Closed 4 months ago

Fail to copy line breaks in contenteditable fields on imgur.com

Categories

(Core :: DOM: Editor, defect, P3)

50 Branch
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: wis.master, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
Build ID: 20161208153507

Steps to reproduce:

Create an account on imgur.com
Upload an image.
Edit the image post (not the image itself).
Type some texts with line breaks in "Image description" (contenteditable field).
Copy and paste the texts.


Actual results:

Line breaks can't be copied. The texts will join together.

For example, type the following texts in "Image description" (contenteditable field):
==================================
There are some texts.
There are some texts.
There are some texts.
There are some texts.
There are some texts.
==================================

When you paste the texts:
==================================
There are some texts. There are some texts. There are some texts. There are some texts. There are some texts.
==================================


Expected results:

The pasted content should retain the line breaks.
Line breaks are copied successfully when I use Google Chrome.
Same reason as bug 1344510?
(In reply to YF (Yang) from comment #2)
> Same reason as bug 1344510?

No
Component: Untriaged → Editor
Product: Firefox → Core
Priority: -- → P3
Severity: normal → S3

I cannot reproduce this bug. Maybe, the webapp updated thier editor.

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