Last modified: 2013-09-11 18:19:39 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 T54096, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52096 - VisualEditor: Copying between editors with wikitext-irrelevant CRs pastes the ↵ as a literal character, not a CE newline placeholder
VisualEditor: Copying between editors with wikitext-irrelevant CRs pastes the...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Low normal
: VE-deploy-2013-09-12
Assigned To: Ed Sanders
:
Depends on:
Blocks: ve-richpaste
  Show dependency treegraph
 
Reported: 2013-07-26 14:36 UTC by John Mark Vandenberg
Modified: 2013-09-11 18:19 UTC (History)
7 users (show)

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


Attachments

Description John Mark Vandenberg 2013-07-26 14:36:37 UTC
Steps to reproduce
1. Create a page with a linefeed
2. Edit it in VE
3. Copy the block containing the ↵
4. In a new VE window, paste

Expected results:
VE smartly removes the ↵

Actual results:
The ↵ is pasted into the second VE as a literal character
Comment 1 John Mark Vandenberg 2013-07-26 14:38:28 UTC
References are also pasted as [1], etc
Comment 2 Gerrit Notification Bot 2013-09-07 10:02:24 UTC
Change 83222 had a related patch set uploaded by Esanders:
The Great [...] Rewrite of 2013: Clipboard edition

https://gerrit.wikimedia.org/r/83222
Comment 3 Gerrit Notification Bot 2013-09-11 18:15:11 UTC
Change 83222 merged by jenkins-bot:
The Great [...] Rewrite of 2013: Clipboard edition

https://gerrit.wikimedia.org/r/83222
Comment 4 Jared Zimmerman (WMF) 2013-09-11 18:19:39 UTC
Just want to capture that in many cases the user could want the ↵ to mean "break this line and create a new line"

I don't think this is 100% of the time, but enough that we should think about it.

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


Navigation
Links