Skip to content

feat: handles border-style hidden on tables and table cells#88

Draft
lasserb-oak wants to merge 2 commits into
ChipiKaf:mainfrom
Oak-Digital:feat/hidden-table-style
Draft

feat: handles border-style hidden on tables and table cells#88
lasserb-oak wants to merge 2 commits into
ChipiKaf:mainfrom
Oak-Digital:feat/hidden-table-style

Conversation

@lasserb-oak
Copy link
Copy Markdown
Contributor

@lasserb-oak lasserb-oak commented May 12, 2026

This PR fixes support for border-style: hidden on tables and table cells when exported to DocX and PDF, plus adds regression tests.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 12, 2026

@lasserb-oak is attempting to deploy a commit to the Chipili's projects Team on Vercel.

A member of the Team first needs to authorize it.

Comment on lines +2054 to +2056
expect(visibleCellBorders['w:right']?.['@_w:val']).toBe('single');
expect(visibleCellBorders['w:top']?.['@_w:val']).toBe('single');
expect(visibleCellBorders['w:bottom']?.['@_w:val']).toBe('single');
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

In HTML tables do not have borders by default. so maybe the test could add a stylesheet where th/th has border: 1px solid #000000 and then explicitly setting border style hidden as you already do?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Are these changes really necessary?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Perhaps they are overkill. But without this, the border-styling did not get reflected in export to PDF, only docX.

wip

wip

wip

wip
@lasserb-oak lasserb-oak marked this pull request as draft May 13, 2026 15:10
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