Skip to content

Conversation

@backportbot-nextcloud
Copy link

Backport of #4452

This replaces the broken approach from #3906.

* Only regard paste handler if pasting to a table cell (Fixes: #4443)
* Add all (marked) text nodes with newlines in between
* Only add a newline for non-text nodes to prevent newlines in between
  text with changing marks.

Signed-off-by: Jonas <[email protected]>
@backportbot-nextcloud backportbot-nextcloud bot added the bug Something isn't working label Jul 10, 2023
@backportbot-nextcloud backportbot-nextcloud bot added this to the Nextcloud 27.0.1 milestone Jul 10, 2023
@mejo-
Copy link
Member

mejo- commented Jul 10, 2023

/compile

Signed-off-by: nextcloud-command <[email protected]>
@cypress
Copy link

cypress bot commented Jul 10, 2023

1 failed tests on run #10916 ↗︎

1 141 1 0 Flakiness 0

Details:

[stable27] fix(frontend): Improve paste handler for table cells
Project: Text Commit: c532cc425c
Status: Failed Duration: 05:25 💡
Started: Jul 10, 2023 10:50 AM Ended: Jul 10, 2023 10:55 AM
Failed  cypress/e2e/sync.spec.js • 1 failed test

View Output Video

Test Artifacts
Sync > recovers from a lost connection Output Screenshots

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@mejo- mejo- merged commit 214970e into stable27 Jul 10, 2023
@delete-merged-branch delete-merged-branch bot deleted the backport/4452/stable27 branch July 10, 2023 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants