Skip to content

Conversation

@mejo-
Copy link
Member

@mejo- mejo- commented Dec 31, 2022

Until now, every newline was transformed into a paragraph break when pasting plaintext.

Instead, newlines will be treated as linebreaks. Two newlines in a row will be treated as paragraph break.

Fixes: #3598

Manual backport of #3623

Signed-off-by: Jonas jonas@freesources.org

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits

Until now, every newline was transformed into a paragraph break when
pasting plaintext.

Instead, newlines will be treated as linebreaks. Two newlines in a row
will be treated as paragraph break.

Fixes: #3598

Manual backport of #3623

Signed-off-by: Jonas <jonas@freesources.org>
@mejo-
Copy link
Member Author

mejo- commented Dec 31, 2022

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@cypress
Copy link

cypress bot commented Dec 31, 2022



Test summary

99 0 0 0Flakiness 2


Run details

Project Text
Status Passed
Commit a73275c ℹ️
Started Dec 31, 2022 11:38 AM
Ended Dec 31, 2022 11:44 AM
Duration 05:21 💡
OS Linux Ubuntu - 22.04
Browser Electron 106

View run in Cypress Dashboard ➡️


Flakiness

mentions.spec.js Flakiness
1 Test mentioning users > Type @ and see the user list
sections.spec.js Flakiness
1 Content Sections > Heading anchors > Anchor scrolls into view

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@max-nextcloud max-nextcloud changed the title Treat newlines as linebreaks when pasting as plaintext [stable25] Treat newlines as linebreaks when pasting as plaintext Dec 31, 2022
Copy link
Collaborator

@max-nextcloud max-nextcloud left a comment

Choose a reason for hiding this comment

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

code looks good.

@max-nextcloud max-nextcloud merged commit b040f67 into stable25 Dec 31, 2022
@delete-merged-branch delete-merged-branch bot deleted the backport/3623/stable25 branch December 31, 2022 18:19
@skjnldsv skjnldsv mentioned this pull request Jan 6, 2023
5 tasks
@blizzz blizzz mentioned this pull request Jan 11, 2023
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants