Last modified: 2014-06-28 23:24:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T54557, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52557 - VisualEditor: Backspace should not delete list and line in same action
VisualEditor: Backspace should not delete list and line in same action
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
Data Model (Other open bugs)
unspecified
All All
: Normal enhancement
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-05 19:08 UTC by Dominic
Modified: 2014-06-28 23:24 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dominic 2013-08-05 19:08:06 UTC
Typically, the expected behavior from hitting backspace at the beginning of a list line is to remove the bullet/number at that indent level so it is no longer a list, and no more. VisualEditor will completely delete the line itself and move the text to the end of the previous line. This is not how OpenOffice or Word works.
Comment 1 James Forrester 2014-03-10 19:16:44 UTC
Agreed. For

| <ol><li><p>|</p></li><li><p>Foo</p></li></ol>

… backspace at the cursor position indicated should convert the document into:

| <p>|</p><ol><li><p>Foo</p></li></ol>

… with the initial <p> being a slug.

For nested list items we should pop to the next level:

| <ol><li><p>Foo</p></li><li><ol><li><p>|</p></li><li><p>Foo</p></li></ol></li></ol>

->


| <ol><li><p>Foo</p></li><li><p>|</p></li><li><ol><li><p>Foo</p></li></ol></li></ol>

I think?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links