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
Open a Markdown document containing an empty task item:
-[ ]
Put the caret after the trailing space.
Press Enter.
Expected
As with an empty list item, Enter removes the empty task marker and exits the list into a normal paragraph.
Actual
The empty task remains and a new regular list item is inserted:
-[ ]-
Pressing Enter a second time removes the new regular marker but still leaves the original empty task item behind.
Impact
Users get stuck in an unexpected list state and accumulate empty task entries that must be cleaned up manually. The behavior also differs from regular list exit semantics, even though task items are rendered as list items.
Testing #326540
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce
Open a Markdown document containing an empty task item:
Put the caret after the trailing space.
Press Enter.
Expected
As with an empty list item, Enter removes the empty task marker and exits the list into a normal paragraph.
Actual
The empty task remains and a new regular list item is inserted:
Pressing Enter a second time removes the new regular marker but still leaves the original empty task item behind.
Impact
Users get stuck in an unexpected list state and accumulate empty task entries that must be cleaned up manually. The behavior also differs from regular list exit semantics, even though task items are rendered as list items.