Pre-submission Checklist
Memos Version
v0.26.2
Environment Details
- Deployment: Docker
- Client: Android - Firefox, Chrome
Steps to Reproduce
- Create new memo or edit existing one
- insert a list item (-) or todo item (- [ ]) followed by text
- press enter to start a new line
Current Behavior
Pressing enter inside a list only continues that list if the previous line in the following cases:
- the previous line ends in one of !"&/()=?|{}<>[]+*;:° (there could be more, those were tested)
- the previous line ends in a space
If the previous line ends in other characters than mentioned above, no new list/todo item is inserted on the new line.
Expected Behavior
pressing enter inside a list automatically continues that list, regardless of which character a non-empty line ends in. The only acceptable cases which I can think of where the list continuation can stop is if the user starts a new paragraph (hitting enter twice), or if the previous line only contains e.g. "- " or "- [ ] " indicating an empty list/todo item.
Logs
No entries observed during testing.
Additional Context
#5232 already reported this it seems. Here's some more tested cases:
if newline does not continue the list and the user hits backspace, then enter again, then the list is continued in the following cases:
- the previous line contains a single alphabetic character
- the previous line contains a single digit, followed by a single alphabetic character, e.g. "1a"
- the previous line contains a single alphabetic character, followed by a single digit, e.g. "a1"
- the previous line contains multiple alphabetic characters, followed by one or more digits
If the user already typed something on the new line without continuing the list, hitting backspace and enter with the cursor at the start of the line will then turn the line into a new list item as expected.
Pre-submission Checklist
Memos Version
v0.26.2
Environment Details
Steps to Reproduce
Current Behavior
Pressing enter inside a list only continues that list if the previous line in the following cases:
If the previous line ends in other characters than mentioned above, no new list/todo item is inserted on the new line.
Expected Behavior
pressing enter inside a list automatically continues that list, regardless of which character a non-empty line ends in. The only acceptable cases which I can think of where the list continuation can stop is if the user starts a new paragraph (hitting enter twice), or if the previous line only contains e.g. "- " or "- [ ] " indicating an empty list/todo item.
Logs
No entries observed during testing.
Additional Context
#5232 already reported this it seems. Here's some more tested cases:
if newline does not continue the list and the user hits backspace, then enter again, then the list is continued in the following cases:
If the user already typed something on the new line without continuing the list, hitting backspace and enter with the cursor at the start of the line will then turn the line into a new list item as expected.