VisualEditor: Copying between editors with wikitext-irrelevant CRs pastes the ↵ as a literal character, not a CE newline placeholder
Closed, ResolvedPublic

Description

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


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=53828

bzimport set Reference to bz52096.
jayvdb created this task.Via LegacyJul 26 2013, 2:36 PM
jayvdb added a comment.Via ConduitJul 26 2013, 2:38 PM

References are also pasted as [1], etc

gerritbot added a comment.Via ConduitSep 7 2013, 10:02 AM

Change 83222 had a related patch set uploaded by Esanders:
The Great [...] Rewrite of 2013: Clipboard edition

https://gerrit.wikimedia.org/r/83222

gerritbot added a comment.Via ConduitSep 11 2013, 6:15 PM

Change 83222 merged by jenkins-bot:
The Great [...] Rewrite of 2013: Clipboard edition

https://gerrit.wikimedia.org/r/83222

Jaredzimmerman-WMF added a comment.Via ConduitSep 11 2013, 6:19 PM

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.

Jdforrester-WMF set Security to None.

Add Comment