Skip to content

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.

3 participants