feat: add setValue command api #210

Co-authored-by: Hufe921 <huangyunfeihufe@hotmail.com>
This commit is contained in:
汥坳赵
2023-07-01 17:17:47 +08:00
committed by GitHub
co-authored by Hufe921
parent c3287783ab
commit 193bd21f70
5 changed files with 48 additions and 1 deletions
+8
View File
@@ -551,6 +551,14 @@ instance.command.executeSetPaperMargin([top: number, right: number, bottom: numb
instance.command.executeInsertElementList(elementList: IElement[])
```
## executeSetValue
功能:设置编辑器数据
用法:
```javascript
instance.command.executeSetValue(payload: Partial<IEditorData>)
```
## executeRemoveControl
功能:删除控件