该 方法 使用方式为 EditorContext.blur()
属性 | 类型 | 默认值 | 必填 | 说明 |
success | function | - | 否 | 接口调用成功的回调函数 |
fail | function | - | 否 | 接口调用失败的回调函数 |
complete | function | - | 否 | 接口调用结束的回调函数(调用成功、失败都会执行) |
该 方法 使用方式为 EditorContext.clear()
属性 | 类型 | 默认值 | 必填 | 说明 |
success | function | - | 否 | 接口调用成功的回调函数 |
fail | function | - | 否 | 接口调用失败的回调函数 |
complete | function | - | 否 | 接口调用结束的回调函数(调用成功、失败都会执行) |
该 方法 使用方式为 EditorContext.format(string name, string value)
该 方法 使用方式为 EditorContext.getContents()
该 方法 使用方式为 EditorContext.getSelectionText(Object object)
该 方法 使用方式为 EditorContext.insertDivider()
属性 | 类型 | 默认值 | 必填 | 说明 |
success | function | - | 否 | 接口调用成功的回调函数 |
fail | function | - | 否 | 接口调用失败的回调函数 |
complete | function | - | 否 | 接口调用结束的回调函数(调用成功、失败都会执行) |
该 方法 使用方式为 EditorContext.insertlmage(Object object)
该 方法 使用方式为 EditorContext.insertText(Object object)
属性 | 类型 | 默认值 | 必填 | 说明 |
text | string | - | 否 | 文本内容 |
success | function | - | 否 | 接口调用成功的回调函数 |
fail | function | - | 否 | 接口调用失败的回调函数 |
complete | function | - | 否 | 接口调用结束的回调函数(调用成功、失败都会执行) |
该 方法 使用方式为 EditorContext.redo(Object object)
属性 | 类型 | 默认值 | 必填 | 说明 |
success | function | - | 否 | 接口调用成功的回调函数 |
fail | function | - | 否 | 接口调用失败的回调函数 |
complete | function | - | 否 | 接口调用结束的回调函数(调用成功、失败都会执行) |
该 方法 使用方式为 EditorContext.removeFormat(Object object)
属性 | 类型 | 默认值 | 必填 | 说明 |
success | function | - | 否 | 接口调用成功的回调函数 |
fail | function | - | 否 | 接口调用失败的回调函数 |
complete | function | - | 否 | 接口调用结束的回调函数(调用成功、失败都会执行) |
该 方法 使用方式为 EditorContext.scrollIntoView()
该 方法 使用方式为 EditorContext.setContents(Object object)
该 方法 使用方式为 EditorContext.undo()
属性 | 类型 | 默认值 | 必填 | 说明 |
success | function | - | 否 | 接口调用成功的回调函数 |
fail | function | - | 否 | 接口调用失败的回调函数 |
complete | function | - | 否 | 接口调用结束的回调函数(调用成功、失败都会执行) |
本页内容是否解决了您的问题?