Page MenuHomePhabricator

VisualEditor: Deleting selection does not delete selected list bullet
Closed, DeclinedPublic

Description

  1. Open http://www.mediawiki.org/wiki/VisualEditor:Test
  2. Press: a b Enter c d
  3. Make "cd" a list item
  4. Press Delete

Expected:

ad

Actual:

a

・ d


Version: unspecified
Severity: normal

Details

Reference
bz41158

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:58 AM
bzimport set Reference to bz41158.

orbit wrote:

Where is your cursor when you press Delete? I can't think of any circumstance where a single press of Delete should remove 2 characters (ABCD -> AD) as you expected. Also, what browser are you using?

Sorry I forgot a step!

  1. Open http://www.mediawiki.org/wiki/VisualEditor:Test
  2. Press: a b Enter c d
  3. Make "cd" a list item
  4. With the mouse, select b and c
  5. Press Delete

orbit wrote:

Ah yeah, this is as expected. We're not currently handling adoption of list items into paragraphs. This type of selection + delete will work from a paragraph into another paragraph or a paragraph into heading, but just not for lists yet.