Pressing `Enter` does not change the number prefix on lists when decreasing indent level

Steps to reproduce

Create a numbered list with the following structure

1. asd
2. asd
    1. asd
    2. asd
        1. asd

Then, on the final line press Enter once (a new list item should be created at level 3 with number 2), then press Enter again (the list item moves back to level 2, but stays with the number 2)

Expected result

The number on the newline should be changed to be 3, consistent with the Shift-Tab behavior.

Actual result

The number stays as the current numbered item in the list, 2 in this case. Pressing Enter repeatedly does not change anything, but pressing either Tab or Shift-Tab both correct the number (while also changing indent levels)


  • Operating system: Windows 10
  • Debug info:
	Obsidian version: v0.14.2
	Installer version: v0.13.30
	Operating system: Windows 10 Home 10.0.19043
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Safe mode: on


Additional information

Final layout

1. as
2. as
	1. as
	2. as
		1. as