Page MenuHomePhabricator

VisualEditor: Pasting rich text from external sources inserts spurious new lines in Firefox
Closed, ResolvedPublic8 Story Points

Description

E.g. copying the disclaimer from my staff page https://www.mediawiki.org/wiki/User:Jdforrester_%28WMF%29 takes:

<p><b>Disclaimer:</b> Although I work for the Wikimedia Foundation, contributions under this account do not necessarily represent the actions or views of the Foundation unless expressly stated otherwise. For example, edits to articles or uploads of other media are done in my individual, personal capacity unless otherwise stated.</p>

… and turns it into the wikitext:

'''Disclaimer:'''
<nowiki> </nowiki>Although I work for the Wikimedia Foundation, contributions under this
account do not necessarily represent the actions or views of the
Foundation unless expressly stated otherwise. For example, edits to
articles or uploads of other media are done in my individual, personal
capacity unless otherwise stated.

… (with the newlines showing before saving; not a Parsoid bug).

No new lines added when doing a plain paste.

Details

Reference
bz58283

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:39 AM
bzimport set Reference to bz58283.

Change 100613 had a related patch set uploaded by Esanders:
Fix paste sequence in Firefox

https://gerrit.wikimedia.org/r/100613

Change 100614 had a related patch set uploaded by Jforrester:
Fix paste sequence in Firefox

https://gerrit.wikimedia.org/r/100614

Change 100613 merged by jenkins-bot:
Fix paste sequence in Firefox

https://gerrit.wikimedia.org/r/100613

Change 100614 merged by Catrope:
Fix paste sequence in Firefox

https://gerrit.wikimedia.org/r/100614

Jdforrester-WMF set the point value for this task to 8.
Jdforrester-WMF set Security to None.