Skip to content

Preserve merged table spans when adding rows and columns - #3452

Merged
Julia Roldi (juliaroldi) merged 1 commit into
masterfrom
u/juliaroldi/split-cells
Aug 28, 2026
Merged

Preserve merged table spans when adding rows and columns#3452
Julia Roldi (juliaroldi) merged 1 commit into
masterfrom
u/juliaroldi/split-cells

Conversation

@juliaroldi

@juliaroldi Julia Roldi (juliaroldi) commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Preserve spanLeft and spanAbove metadata when mergeModel expands a table with new rows or columns. Add regression tests covering both expansion directions so merged cells remain aligned after merging table content.

Before:
MergeTablesPasteBug

After:
MergeTablesPasteFix

How to test

  1. Run yarn test:fast --testPathPattern=mergeModelTest.
  2. Merge table content that adds a row beneath horizontally merged cells or a column beside vertically merged cells, and verify the new cells retain the neighboring span state.

@github-actions

github-actions Bot commented Aug 27, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-08-28 18:19 UTC

@juliaroldi
Julia Roldi (juliaroldi) merged commit b8f359f into master Aug 28, 2026
11 of 14 checks passed
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.

2 participants