odoo/odoo#180687

Created by Editor, DHAVAL BARAIYA (dhba)
Merged at 42fd1b7b27f710f83989d2f98704aa22c324acac

Statuses:

label
odoo-dev:16.0-delete-backward-lists-dhba
head
e9316c8e617e46918050166aabd10951d47d93f0
merged
9 months ago by Editor, David Monjoie (dmo)
odoo/odoo
16.0 #180687
17.0 #191915
saas-17.2 #192313
saas-17.4 #192329
18.0 #192446
saas-18.1 #194916
saas-18.2
saas-18.3
saas-18.4
19.0
master #194930

[FIX] web_editor: delete backward on lists

Current behavior before PR:

When multiple types of lists were selected and the deleteBackward operation was performed, the list type remained unchanged.

Desired behavior after PR is merged:

When deleteBackward is pressed with multiple types of lists selected, and all selected content is removed, if the anchor node's list item is empty, that list item type will change to match the type of the list where the deleteBackward operation started.

task-4187739