Page MenuHomePhabricator

VisualEditor: Changing the format of a block slug between a list and a block template breaks badly
Closed, ResolvedPublic

Description

In this page https://fr.wikipedia.org/w/index.php?title=Utilisateur:Elitre_(WMF)/Prove2&oldid=101942635, if you click Enter twice after the last sub-item of the list and then select Titre de section (Heading), that item and the Portal template below disappear, and results from the Undo action may vary (the French user who found this reports that a couple of CTRL+Z blank the page for him; for me, nothing happens, or the item comes back but the template doesn’t).
Nothing changes if the list is unordered or ordered, but it does seem to matter that it features sub-items and not just items (as a matter of fact I couldn't reproduce with a simple list here http://en.wikipedia.beta.wmflabs.org/w/index.php?title=User:Elitest&oldid=82999).


Version: unspecified
Severity: normal
URL: https://fr.wikipedia.org/wiki/Utilisateur:Elitre_%28WMF%29/Prove2?oldid=101942635&veaction=edit
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=50250

Details

Reference
bz62475