Skip to content

Update presentation when typing inside table in sdt#2729

Merged
harbournick merged 6 commits intomainfrom
sd-2453_typing-table-sdt
Apr 16, 2026
Merged

Update presentation when typing inside table in sdt#2729
harbournick merged 6 commits intomainfrom
sd-2453_typing-table-sdt

Conversation

@VladaHarbour
Copy link
Copy Markdown
Contributor

No description provided.

@VladaHarbour VladaHarbour self-assigned this Apr 7, 2026
@linear
Copy link
Copy Markdown

linear Bot commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

@caio-pizzol caio-pizzol left a comment

Choose a reason for hiding this comment

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

@VladaHarbour good fix — the three changes work well together: cache updates so edits show up, version tracking so the page re-renders, and click handling so the cursor lands inside the inner table instead of selecting the whole field.

no correctness issues found.

one thing we noticed while testing: opening a Word file that already has this structure (table inside an SDT inside a table cell) doesn't produce the right nodes on import — the inner tables get dropped. that's not something this PR broke, it was already like that, but it means these code paths only get triggered through the template builder (where users build the structure interactively). could be worth a follow-up ticket for import support.

left two inline comments — both about test coverage, not the logic itself.

Comment thread packages/layout-engine/layout-bridge/src/cache.ts Outdated
Comment thread packages/layout-engine/painters/dom/src/renderer.ts
@VladaHarbour VladaHarbour force-pushed the sd-2453_typing-table-sdt branch from 006066c to 82075ec Compare April 14, 2026 11:26
Copy link
Copy Markdown
Collaborator

@harbournick harbournick left a comment

Choose a reason for hiding this comment

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

LGTM

@harbournick harbournick enabled auto-merge April 16, 2026 20:33
@harbournick harbournick added this pull request to the merge queue Apr 16, 2026
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Merged via the queue into main with commit 49d4728 Apr 16, 2026
53 checks passed
@harbournick harbournick deleted the sd-2453_typing-table-sdt branch April 16, 2026 20:40
@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented Apr 16, 2026

🎉 This PR is included in @superdoc-dev/react v1.2.0-next.19

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented Apr 16, 2026

🎉 This PR is included in vscode-ext v2.3.0-next.22

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented Apr 16, 2026

🎉 This PR is included in template-builder v1.5.0-next.22

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented Apr 16, 2026

🎉 This PR is included in esign v2.3.0-next.22

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented Apr 16, 2026

🎉 This PR is included in superdoc v1.26.0-next.22

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented Apr 16, 2026

🎉 This PR is included in superdoc-cli v0.7.0-next.23

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented Apr 16, 2026

🎉 This PR is included in superdoc-sdk v1.6.0-next.20

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented Apr 17, 2026

🎉 This PR is included in superdoc-cli v0.7.0

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented Apr 17, 2026

🎉 This PR is included in superdoc v1.27.0

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented Apr 21, 2026

🎉 This PR is included in @superdoc-dev/react v1.2.0

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented Apr 22, 2026

🎉 This PR is included in superdoc-sdk v1.6.0

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.

5 participants