Page MenuHomePhabricator

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

Details

Reference
bz52096

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:51 AM
bzimport set Reference to bz52096.

References are also pasted as [1], etc

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

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

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

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

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.