feat: add executeUpdateElementById api #648

This commit is contained in:
Hufe921
2024-06-13 22:33:12 +08:00
parent f7da332354
commit 5c896bf958
5 changed files with 75 additions and 3 deletions
+10
View File
@@ -772,6 +772,16 @@ instance.command.executeInsertElementList(elementList: IElement[])
instance.command.executeAppendElementList(elementList: IElement[], options?: IAppendElementListOption)
```
## executeUpdateElementById
功能:根据 id 修改元素属性
用法:
```javascript
instance.command.executeUpdateElementById(payload: IUpdateElementByIdOption)
```
## executeSetValue
功能:设置编辑器数据