refactor: update tdPadding option format

This commit is contained in:
Hufe921
2023-09-02 16:24:32 +08:00
parent d8876b1095
commit 752ca43077
7 changed files with 32 additions and 20 deletions
+2 -2
View File
@@ -42,8 +42,8 @@ interface IEditorOption {
marginIndicatorColor?: string // The margin indicator color. default: #BABABA
margins?: IMargin // Page margins. default: [100, 120, 100, 120]
pageMode?: PageMode // Paper mode: Linkage, Pagination. default: Pagination
tdPadding?: number // Cell padding. default: 5
defaultTrMinHeight?: number // Default table row minimum height. default: 40
tdPadding?: IPadding // Cell padding. default: [0, 5, 5, 5]
defaultTrMinHeight?: number // Default table row minimum height. default: 42
defaultColMinWidth?: number // Default minimum width for table columns (applied if the overall width is sufficient, otherwise scaled down). default: 40
defaultHyperlinkColor?: string // Default hyperlink color. default: #0000FF
header?: IHeader // Header information.{top?:number; maxHeightRadio?:MaxHeightRatio;}