Page MenuHomePhabricator

VisualEditor: Heading on a slug is created on the wrong line in Firefox
Closed, ResolvedPublic

Description

1 Go to a page with several paragraphs. Edit with VisualEditor.

  1. Place cursor at the end of paragraph N and press Enter to create a new line. See the cursor blinking in a new line after paragraph N.
  1. Select "Heading 2" in the dropdown menu.

EXPECTED

A Heading 2 line appears at the end of paragraph N.

ACTUAL OUTCOME

A Heading 2 line appears at the end of paragraph N-1.

As a matter of fact I find no way to place the header where I want, unless going to the end of paragraph N+1 only to trick the bug. Selecting an existing line and trying to make a header out of it doesn't seem to work either (but this is probably a different bug).

Happens at least in mediawiki.org with Firefox 22.0a2 (2013-05-07).


Version: unspecified
Severity: normal

Details

Reference
bz48464

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:35 AM
bzimport set Reference to bz48464.

I believe we've fixed this now in production - please re-open if it recurs.

Yes, this works now. Thank you!

Just a little usability detail: after selecting the type of heading there is no cursor blinking. You can type and characters will appear where expected, but of course our old friend cursor-blinking is missed.

(In reply to comment #2)

Yes, this works now. Thank you!

Just a little usability detail: after selecting the type of heading there is
no
cursor blinking. You can type and characters will appear where expected, but
of
course our old friend cursor-blinking is missed.

Yes; Rob noticed this too, and is working on it - just created bug 50338 to track.