feat: add text decoration property
This commit is contained in:
@@ -244,7 +244,7 @@ Feature: Underline
|
||||
Usage:
|
||||
|
||||
```javascript
|
||||
instance.command.executeUnderline()
|
||||
instance.command.executeUnderline(textDecoration?: ITextDecoration)
|
||||
```
|
||||
|
||||
## executeStrikeout
|
||||
|
||||
@@ -41,6 +41,9 @@ interface IElement {
|
||||
};
|
||||
rowMargin?: number;
|
||||
letterSpacing?: number;
|
||||
textDecoration?: {
|
||||
style?: TextDecorationStyle;
|
||||
};
|
||||
// groupIds
|
||||
groupIds?: string[];
|
||||
// table
|
||||
|
||||
@@ -244,7 +244,7 @@ instance.command.executeItalic()
|
||||
用法:
|
||||
|
||||
```javascript
|
||||
instance.command.executeUnderline()
|
||||
instance.command.executeUnderline(textDecoration?: ITextDecoration)
|
||||
```
|
||||
|
||||
## executeStrikeout
|
||||
|
||||
@@ -41,6 +41,9 @@ interface IElement {
|
||||
};
|
||||
rowMargin?: number;
|
||||
letterSpacing?: number;
|
||||
textDecoration?: {
|
||||
style?: TextDecorationStyle;
|
||||
};
|
||||
// 组信息-可用于批注等其他成组使用场景
|
||||
groupIds?: string[];
|
||||
// 表格
|
||||
|
||||
Reference in New Issue
Block a user