diff --git a/docs/guide/command-execute.md b/docs/guide/command-execute.md index ff5fac4..2bb358d 100644 --- a/docs/guide/command-execute.md +++ b/docs/guide/command-execute.md @@ -352,6 +352,14 @@ instance.command.executeTableTdVerticalAlign(payload: VerticalAlign) instance.command.executeTableBorderType(payload: TableBorder) ``` +## executeTableTdBackgroundColor +功能:表格单元格背景色 + +用法: +```javascript +instance.command.executeTableTdBackgroundColor(payload: string) +``` + ## executeImage 功能:插入图片 diff --git a/docs/guide/schema.md b/docs/guide/schema.md index 2476d0a..d12dfa6 100644 --- a/docs/guide/schema.md +++ b/docs/guide/schema.md @@ -51,6 +51,7 @@ interface IElement { colspan: number; rowspan: number; verticalAlign?: VerticalAlign; + backgroundColor?: string; value: IElement[]; }[]; }[];