Page MenuHomePhabricator

Enter,Enter,Backspace at the beginning of a paragraph breaks the selection
Closed, ResolvedPublic1 Estimated Story Points

Description

Steps to reproduce: In an empty document, press 'x'; set it to be a heading; press Home, Enter, Enter, Backspace.
Expected behaviour: The cursor appears at the start of the second paragraph, just before the 'x'.
Observed behaviour: The cursor appears appears inside the first (empty) paragraph (just before the chimera).

Changeset 9367efb90ff689f840da33fdcb95e514b1322cb9 was when this broke.

Event Timeline

dchan raised the priority of this task from to Medium.
dchan updated the task description. (Show Details)
dchan subscribed.

Hmm. I don't get this behaviour on Beta Cluster when using Chrome or Firefox.

Change 254648 had a related patch set uploaded (by Divec):
Fix range mapping logic for node merging on deletion

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

Ah! The 'x' has to be in a heading1 (not a paragraph)

dchan set Security to None.
dchan updated the task description. (Show Details)

Change 254648 merged by jenkins-bot:
Fix range mapping logic for node merging on deletion

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