Skip to content

[stable27] fix(frontend): Improve paste handler for table cells - #4470

Merged
mejo- merged 2 commits into
stable27from
backport/4452/stable27
Jul 10, 2023
Merged

[stable27] fix(frontend): Improve paste handler for table cells#4470
mejo- merged 2 commits into
stable27from
backport/4452/stable27

Conversation

@backportbot-nextcloud

Copy link
Copy Markdown

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 <jonas@freesources.org>
@backportbot-nextcloudbackportbot-nextcloudBot added the bug Something isn't working label Jul 10, 2023
@backportbot-nextcloudbackportbot-nextcloudBot added this to the Nextcloud 27.0.1 milestone Jul 10, 2023
@mejo-

Copy link
Copy Markdown
Member

/compile

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

cypressBot commented Jul 10, 2023

Copy link
Copy Markdown

1 failed tests on run #10916 ↗︎

114110Flakiness0

Details:

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

ViewOutputVideo

Test Artifacts
Sync > recovers from a lost connection OutputScreenshots

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

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

Labels

4. to releasebugSomething isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@mejo-@juliusknorr@nextcloud-command