Last modified: 2013-07-22 02:25:59 UTC
Sorry if this turns out to be a duplicate - a search trough the bugs containing the words "copy paste" doesn't seem to turn anything up though. The problem is as the title says: Cut and Pasting a section in the visual editor will remove all the formatting provided that section contains an image. Tested on Firefox 22, Mono skin. Steps to reproduce: - Navigate to https://en.wikipedia.org/w/index.php?title=Microsoft&oldid=563598458 and edit the page with the visual editor. - Cut the "1972–83: Founding and company beginnings" section entirely. Eg, anything between the "1972–83:" in the section header, and the "Hodgkin's disease.[4]:231" in the section content. (This will also select the image in the section) - Click the location where the section used to be and paste the text - technically speaking pasting anywhere causes the problem though. The text that is pasted will be stripped of all formatting, and the image that was selected will be gone as well.
See also https://bugzilla.wikimedia.org/show_bug.cgi?id=50721
Confirming your example.
And marking as a duplicate of bug 33105, which is about supporting this functionality. The cut operation should probably be 'disabled' if it contains elements that can't be pasted again. However the 'cut' operation could do a 'copy' operation, with a notice to the user that cut is not supported for complex wiki blocks. The paste operation should probably be disabled until this is fixed, with a notice to the user that they should press undo/Control-Z to get back their text if the last item on the undo stack is a Cut operation. But there is probably also an 'enhancement' raised about those as well. *** This bug has been marked as a duplicate of bug 33105 ***