Skip to content

UX: add hard break with double space+enter on rich editor #34157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 8, 2025

Conversation

renato
Copy link
Contributor

@renato renato commented Aug 7, 2025

Supports an ENTER key mapping to add a hard break when triggered at the end of a line ending in two spaces.

@SamSaffron
Copy link
Member

nice little bit of usability for mobile

@SamSaffron
Copy link
Member

why double space though? isn't a single enough?

@renato
Copy link
Contributor Author

renato commented Aug 7, 2025

why double space though? isn't a single enough?

@SamSaffron I was just following the convention I saw elsewhere, I think the idea with 2 instead of 1 is to avoid triggering it with a typo. WDYT?

@renato renato merged commit 909d19d into main Aug 8, 2025
17 checks passed
@renato renato deleted the ux_rte_double_space_enter_hard_break branch August 8, 2025 20:17
pento pushed a commit that referenced this pull request Aug 11, 2025
Supports an ENTER key mapping to add a hard break when triggered at the
end of a line ending in two spaces.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants