Page MenuHomePhabricator

VisualEditor: Backspace from (or deleteing down) into a DL breaks badly
Closed, ResolvedPublic

Description

If you backspace-delete the newline that appears immediately prior to the indented quote of this rev (the quote that begins with "This was a kind of blank .."), the entire quote is deleted. This may be related to the fact that the newline shouldn't be there in the first place; it does not exist in the wikitext version of the page, nor is the text indented by means of a template.

https://en.wikipedia.org/w/index.php?title=Ernestine_Eckstein&oldid=563439288&veaction=edit


Version: unspecified
Severity: major
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=50418

Details

Reference
bz50995

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:01 AM
bzimport set Reference to bz50995.

Also note that undo doesn't seem to work on this deletion event.

I think this might be the same bug that I encountered last night. Details and a screenshot at https://en.wikipedia.org/w/index.php?title=Wikipedia:VisualEditor/Feedback&oldid=564667549#Indentation_with_colons_rendered_with_blank_lines._Attempting_to_delete_these_deletes_entire_section_and_cannot_be_undone

Summary: Indentation with colons is rendered in VisualEditor with one blank line per level of indent before and after the indented section. Attempting to delete one of the blank lines before the indentation unindents by one level and removing a blank line before the indented text but not removing any after it.

Attempting to remove any of the blank lines after the indented text deletes the entire indentation section. This deletion cannot be undone.

Testing at https://en.wikipedia.org/w/index.php?title=User:Thryduulf/sandbox&oldid=570858997 shows that attempting to backspace on one of the trailing new lines no longer deletes anything, it just moves the cursor to the end of the line above.

Jdforrester-WMF lowered the priority of this task from High to Medium.Jan 15 2015, 12:21 AM
Jdforrester-WMF set Security to None.

This seems fixed now. I was able to backspace or delete anything around the indentations on the test pages without the editor exploding in my face.