Skip to content

Commit dcb3635

Browse files
committed
fix(tables): defaultTableStyle support, cell fixes
1 parent 84af4c0 commit dcb3635

37 files changed

Lines changed: 1614 additions & 1291 deletions

packages/layout-engine/pm-adapter/__mocks__/@converter/tbl-translator.d.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/layout-engine/pm-adapter/__mocks__/@converter/tbl-translator.js

Lines changed: 0 additions & 21 deletions
This file was deleted.

packages/layout-engine/pm-adapter/src/converter-context.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ export type ConverterContext = {
4444
* contrast with the cell background per WCAG guidelines.
4545
*/
4646
backgroundColor?: string;
47+
/**
48+
* Default table style ID from `w:defaultTableStyle` in document settings.
49+
* Used by table creation paths to determine which style to apply to new tables.
50+
*/
51+
defaultTableStyleId?: string;
4752
};
4853

4954
/**

0 commit comments

Comments
 (0)