feat: add forceUpdate api #263
This commit is contained in:
@@ -79,6 +79,16 @@ Usage:
|
||||
instance.command.executeSetRange(startIndex: number , endIndex: number)
|
||||
```
|
||||
|
||||
## executeForceUpdate
|
||||
|
||||
Feature: force update editor
|
||||
|
||||
Usage:
|
||||
|
||||
```javascript
|
||||
instance.command.executeForceUpdate(options?: IForceUpdateOption)
|
||||
```
|
||||
|
||||
## executeUndo
|
||||
|
||||
Feature: Undo
|
||||
@@ -755,9 +765,11 @@ instance.command.executeWordTool()
|
||||
```
|
||||
|
||||
## executeSetHTML
|
||||
|
||||
Feature: Set the editor HTML data
|
||||
|
||||
Usage:
|
||||
|
||||
```javascript
|
||||
instance.command.executeSetHTML(payload: Partial<IEditorHTML)
|
||||
```
|
||||
|
||||
@@ -79,6 +79,16 @@ instance.command.executeBackspace()
|
||||
instance.command.executeSetRange(startIndex: number , endIndex: number)
|
||||
```
|
||||
|
||||
## executeForceUpdate
|
||||
|
||||
功能:强制重新渲染文档
|
||||
|
||||
用法:
|
||||
|
||||
```javascript
|
||||
instance.command.executeForceUpdate(options?: IForceUpdateOption)
|
||||
```
|
||||
|
||||
## executeUndo
|
||||
|
||||
功能:撤销
|
||||
|
||||
Reference in New Issue
Block a user