You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pressing Tab on a numbered list item in the composer does not renumber the following items #43628
In the web composer (apps/web/src/composer-list-continuation.ts), pressing Tab to indent a numbered list item leaves a gap in the remaining items of the parent ordered list.
Steps to reproduce
Type a numbered list in the composer:
1. a
2. b
3. c
Place the caret on 2. b and press Tab.
Observed behavior
listIndentForTab indents 2. b to 1. b, but leaves 3. c as 3. c:
1. a
1. b
3. c
Expected behavior
Following siblings at the old indentation level should be renumbered starting from the indented item's previous number (2. c), matching how Enter (listContinuationForEnter) and Shift+Tab (listOutdentForTab) already keep ordered list numbering contiguous.
Activity