You need to sign in or sign up before continuing.
Rich Text Editor: Add Smart List Exit Behavior
When users are working with unordered lists in the Rich Text Editor, they currently cannot easily break out of the list to start a new paragraph. The editor continues to create new bullet points even when users intend to exit the list structure.
Current Behavior
- The editor continues creating new bullet points indefinitely
- Users have no intuitive way to exit list mode
- Empty bullet points persist even when users likely intend to start a new paragraph
Expected Behavior
- After creating two consecutive empty bullet points, the editor should:
- Remove the last empty bullet point
- Exit list mode
- Allow the user to begin typing in a new paragraph
- This behavior should mirror other popular Rich Text Editors like Slack's implementation
User Impact
This improvement would:
- Reduce user frustration
- Speed up content creation
- Match users' mental models from other common editing tools
- Eliminate the need for workarounds to exit list mode
Example provided by @jmandell
Current | Expected |
---|---|
![]() |
![]() |
Edited by 🤖 GitLab Bot 🤖