odoo/odoo#192313

Created by fw-bot
Merged at 8fba0611cd3acdb722ca3e03da44db922ea42607

Statuses:

label
odoo-dev:saas-17.2-16.0-delete-backward-lists-dhba-S2ow-fw
head
e6ea0b83518c7a0c9b0898ad9c65a7b6def05ad6
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

[FW][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

Forward-Port-Of: #191915
Forward-Port-Of: #180687