Last modified: 2013-09-27 23:45:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T56721, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54721 - VisualEditor: Header formatting is stripped when copying (or cutting) and pasting inside a single article in Firefox
VisualEditor: Header formatting is stripped when copying (or cutting) and pas...
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
All All
: High normal
: VE-deploy-2013-09-26
Assigned To: Ed Sanders
Depends on:
Blocks: ve-richpaste
  Show dependency treegraph
Reported: 2013-09-27 19:27 UTC by Trevor (Wikia)
Modified: 2013-09-27 23:45 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---

Comparison of content (147.83 KB, image/jpeg)
2013-09-27 19:27 UTC, Trevor (Wikia)

Description Trevor (Wikia) 2013-09-27 19:27:58 UTC
Created attachment 13398 [details]
Comparison of content

I am on Mac OSX 10.8.5 on Firefox 24.0

Steps to reproduce:

1. Navigate to any article and open the VisualEditor (
2. Copy any selection of text that has formatting (bold, italics, link, header, references)
3. Paste the content elsewhere in the same VE document.
4. You will see that all formatting has been stripped. See the attached file.
Comment 1 James Forrester 2013-09-27 19:56:45 UTC
Aha - yes, sorry, I *can* re-create this in wmf18 ( but not wmf19 ( I think we fixed this is in Gerrit change #85213, but closing as FIXED for now. If you can reproduce on (or master), please re-open.
Comment 2 Trevor (Wikia) 2013-09-27 21:48:41 UTC
Oh, it is fixed!  But now I see a more minor issue:

When I copy a portion of content beginning with a header, then paste it elsewhere in the same document, everything is retained  /except/ the header. However, if I begin before the header (the paragraph before the header, for example) the header is retained.

For example, copy everything from 'Start' to 'Finish' on this test page:

Everything is retained except the H2 formatting on 'Start'. See this screenshot as an example too:

I can create a new ticket if you need me to, but I think this one may suffice with a name change.
Comment 3 James Forrester 2013-09-27 23:45:42 UTC
Making this a new bug as it's actually present in all browsers and has been around for a while, unlike this one - bug 54728.

Note You need to log in before you can comment on or make changes to this bug.