Skip to content

Fix Newline handling in Web's Composer#6658

Merged
gaearon merged 1 commit into
bluesky-social:mainfrom
HorusGoul:issue-6365/fix-pasting-newlines-in-textinput
Nov 23, 2024
Merged

Fix Newline handling in Web's Composer#6658
gaearon merged 1 commit into
bluesky-social:mainfrom
HorusGoul:issue-6365/fix-pasting-newlines-in-textinput

Conversation

@HorusGoul
Copy link
Copy Markdown
Contributor

@HorusGoul HorusGoul commented Nov 23, 2024

Fixes copying and pasting text that includes line breaks (\n) in the Web Composer.

Tiptap doesn't maintain newlines because this is a default from Prosemirror. Context: ueberdosis/tiptap#775 (comment)

Fixes #6365.

Changes:

Manual testing

2024-11-23_15-47-03.mp4

@HorusGoul HorusGoul mentioned this pull request Nov 23, 2024
@HorusGoul HorusGoul marked this pull request as ready for review November 23, 2024 14:53
Copy link
Copy Markdown
Contributor

@gaearon gaearon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, this was very annoying but i couldn't tell where the mistake is

@gaearon gaearon merged commit 4dd62e2 into bluesky-social:main Nov 23, 2024
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.

Newline handling in web client is not correct.

2 participants