Skip to content
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

Fix ability to insert a new line at the end of the editor. #361

Merged
merged 1 commit into from
May 23, 2023

Conversation

carloskelly13
Copy link
Contributor

.trim() removed all ability to insert a new line. We want to just splice out the last character instead so a new carriage return can be added.

Screen.Recording.2023-05-23.at.6.20.12.AM.mov

@vercel
Copy link

vercel bot commented May 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
react-live-docs-website ✅ Ready (Inspect) Visit Preview May 23, 2023 11:23am

@carloskelly13 carloskelly13 requested a review from gksander May 23, 2023 11:23
@carloskelly13 carloskelly13 merged commit c3d5d00 into master May 23, 2023
@carloskelly13 carloskelly13 deleted the fix/editor-end-new-line branch May 23, 2023 12:24
@github-actions github-actions bot mentioned this pull request May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants