Page MenuHomePhabricator

VisualEditor: Header formatting is stripped when copying (or cutting) and pasting inside a single article in Firefox
Closed, ResolvedPublic


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.

Version: unspecified
Severity: normal




Event Timeline

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

Aha - yes, sorry, I *can* re-create this in wmf18 ( but not wmf19 ( I think we fixed this is in gerrit 85213, but closing as FIXED for now. If you can reproduce on (or master), please re-open.

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.

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.

Restricted Application added a project: User-Ryasmeen. · View Herald TranscriptMar 23 2018, 9:56 PM