Last modified: 2013-08-08 06:19:04 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 T39860, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37860 - VisualEditor: Cut-n-paste from one window to another loses formatting
VisualEditor: Cut-n-paste from one window to another loses formatting
Status: RESOLVED DUPLICATE of bug 33105
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: High enhancement
: ---
Assigned To: Christian Williams
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-23 02:35 UTC by Brion Vibber
Modified: 2013-08-08 06:19 UTC (History)
7 users (show)

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


Attachments

Description Brion Vibber 2012-06-23 02:35:20 UTC
Tested in Firefox 16 nightly.

Steps to repro:
* go to https://www.mediawiki.org/wiki/VisualEditor:Welcome
* hit 'edit'
* click in, select all, copy to clipboard
* go to https://www.mediawiki.org/wiki/VisualEditor:Blorpo etc
* hit 'edit'
* click in, paste

Expected results:
Beautiful pasted HTML

Actual results:
All formatting lost. Newlines are turned into little newline symbols.
Comment 1 Brion Vibber 2012-06-23 16:58:42 UTC
Same behavior in Firefox 13, Chrome 19, Safari 5.1.7 (though Chrome & Safari don't show the little newline symbols, you just don't get line breaks at all).

This makes common editing tasks like moving text from one page to another impossible, so might want to bump priority up.
Comment 2 Christian Williams 2012-06-29 00:29:51 UTC
This is fixed in:
https://gerrit.wikimedia.org/r/#/c/13423/

Previously, copied data was stored in a local JS variable. Only copy and paste from within a single document was supported. Now, using localStorage, rich content may be copied from one article to another on the same wiki in the same browser.
Comment 3 Brion Vibber 2012-06-29 17:15:38 UTC
will thst work between wikis?
Comment 4 Keegan Peterzell 2013-06-28 18:33:13 UTC
This bug seems to be occurring again.  Same issue- format loss.

Ref:
https://en.wikipedia.org/w/index.php?title=Wikipedia%3AVisualEditor%2FFeedback&diff=561998028&oldid=561996397
Comment 5 James Forrester 2013-07-02 20:07:55 UTC
This was replaced with bug 33105 (general copy-and-paste)

*** This bug has been marked as a duplicate of bug 33105 ***
Comment 6 David Gerard 2013-07-06 20:28:44 UTC
Bug 33105 is *not* general c'n'p, it's only c'n'p from external sources.
Comment 7 James Forrester 2013-07-06 20:49:22 UTC
(In reply to comment #6)
> Bug 33105 is *not* general c'n'p, it's only c'n'p from external sources.

You're right, sorry, I didn't update the title. Fixed. (Also, another VE instance is definitely an external source.)
Comment 8 Francisco 2013-07-26 13:24:08 UTC
I have to confirm that this bug still occurs on it.wiki.
Comment 9 Andre Klapper 2013-07-26 15:25:58 UTC
Francisco: Exact steps to reproduce highly welcome, so developers can take a look.
Comment 10 Francisco 2013-07-26 15:32:39 UTC
Just copy content from a page (e.g. https://it.wikipedia.org/wiki/Fire?veaction=edit) and paste in another one (e.g. https://it.wikipedia.org/wiki/Phantom?veaction=edit) :-) all the links, italics, lists etc. are lost.
Comment 11 James Forrester 2013-08-08 06:19:04 UTC
Sorry, not "fixed" but duplicate of bug 33105.

*** This bug has been marked as a duplicate of bug 33105 ***

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


Navigation
Links