Closed Bug 1344510 Opened 7 years ago Closed 7 years ago

Line breaks and paragraph breaks are messed up when copying from Google Docs and pasting as plain texts

Categories

(Firefox :: Untriaged, defect)

50 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

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 a Google Document
Type some texts with line breaks (Shift+Enter) and paragraph breaks (Enter).
Copy the block of texts.
Paste in any textbox on the website or paste as plain texts (not formatted texts!) in any text file.


Actual results:

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

Extra lines are created (except the last and the second last lines) when you paste as plain texts. 
For example, in Google Doc:
==================================
There are some texts.
There are some texts.
There are some texts.
There are some texts.
There are some texts.
==================================

When you paste as plain 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 be the same as the one shown in Google Doc.
Added a test file. Try to copy and paste two blocks of texts.
https://docs.google.com/document/d/1aE2X3eK2ABG2A4nzbL8EXD6XhrMZ1KqaJ9joFxubHes/edit?usp=sharing
Copying and pasting works properly when I use Google Chrome. 
Line breaks are copied successfully. No extra lines are created.
WFM in Fx52 & Fx50.1.0 on Win10.


This issue also happens with a clean profile? https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles.
Sorry for the wrong bug report. The culprit is an addon. 
The addon is said to be restartless, but it is not fully disabled if I simply disable it without restart.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.