Skip to content

[stable31] fix(Markdown): copy full block node if it has more than one child - #7867

Merged
mejo- merged 1 commit into
stable31from
backport/7865/stable31
Oct 27, 2025
Merged

[stable31] fix(Markdown): copy full block node if it has more than one child#7867
mejo- merged 1 commit into
stable31from
backport/7865/stable31

Conversation

@backportbot

@backportbotbackportbotBot commented Oct 27, 2025

Copy link
Copy Markdown

Backport of #7865

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbotbackportbotBot added feature: formatting Features related to text formatting and node types 3. to review labels Oct 27, 2025
@backportbotbackportbotBot added this to the Nextcloud 31.0.11 milestone Oct 27, 2025
* Single list item is selected: copy only it's content
* Multiple list items are selected: copy list with markdown formatting
* Single table cell is selected: copy only it's conten
* Full table is selected: copy table with markdown formatting
Fixes: #7826
Signed-off-by: Jonas <jonas@freesources.org>
@mejo-
mejo-force-pushed the backport/7865/stable31 branch from c305e49 to e372795CompareOctober 27, 2025 15:33
@mejo-
mejo- marked this pull request as ready for review October 27, 2025 15:33
@codecov

codecovBot commented Oct 27, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.10%. Comparing base (1840982) to head (e372795).
⚠️ Report is 2 commits behind head on stable31.

Additional details and impacted files
@@ Coverage Diff @@## stable31 #7867 +/- ##
============================================
+ Coverage 51.21% 58.10% +6.89% 
============================================
Files 292 291 -1 Lines 41796 36855 -4941 Branches 868 868 ============================================
+ Hits 21404 21415 +11 + Misses 20272 15321 -4951 + Partials 120 119 -1 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mejo-
mejo- merged commit c73419b into stable31Oct 27, 2025
77 of 79 checks passed
@mejo-
mejo- deleted the backport/7865/stable31 branch October 27, 2025 20:42
@blizzzblizzz mentioned this pull request Nov 10, 2025
14 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewfeature: formattingFeatures related to text formatting and node types

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@mejo-