Page MenuHomePhabricator

VisualEditor:Attempting to delete a template at the beginning of an article deletes the whole paragraph following it
Closed, ResolvedPublic

Description

Steps to reproduce:

1.Click on the "Edit" button for a page in production
2.At the beginning of the article place a template
3.Write a paragraph following that template.
4.Save the page
5.Reopen the page in Edit mode

Observed Result:
The template gets selected(blue highlight appears) automatically.However the template icon does not appear to edit the template rather a four sided drag icon appears on it.
Now if you press the delete button while the template is selected ,the following paragraph gets deleted.Pressing undo does not get it back on the page.User have to cancel this edit session and restart again to by pass the issue.


Version: unspecified
Severity: normal

Details

Reference
bz57553