Page MenuHomePhabricator

VisualEditor: Pasting plain text from external sources inserts spurious double new lines between paragraphs in Safari
Open, MediumPublic

Description

Intention:
Paste some plain text.

Steps to Reproduce:

  1. Type a few paragraphs of plain text. I typed mine into an Apple Mail message with rich text turned off. My text was:

I get to play with lists.
I like to play with lists.

I wonder if this will do what I want.

What I want is for this not to be in a list.

  1. Open VisualEditor.
  1. Copy and paste the plain text into VisualEditor.

Actual Results:
Instead of getting this:

I get to play with lists.
I like to play with lists.

I wonder if this will do what I want.

What I want is for this not to be in a list.

I got this:

I get to play with lists.
I like to play with lists.

I wonder if this will do what I want.

What I want is for this not to be in a list.

When it saved, there were actually three blank lines between the paragraphs. This can be seen at http://en.wikipedia.beta.wmflabs.org/w/index.php?diff=92715&oldid=92368

Reproducible: Always

This is not the same as Bug 58283. Also, I could not reproduce this in Firefox 29. It happens every time in Safari 6.1.3.


Version: unspecified
Severity: minor

Details

Reference
bz65021