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


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:


jayvdb created this task.Jul 26 2013, 2:36 PM

References are also pasted as [1], etc

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

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

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.

Add Comment