1
0
mirror of synced 2026-03-24 03:38:34 +08:00

docs: 添加关于代码块内容的文档

This commit is contained in:
parisma
2023-03-01 10:29:46 +08:00
committed by roymondchen
parent 6610f30afd
commit dd884b96ba
6 changed files with 105 additions and 8 deletions

View File

@@ -220,7 +220,7 @@
- **详情:**
## refreshCombineInfo
## refreshAllRelations
- **参数:**

View File

@@ -9,27 +9,32 @@
## select
- **详情:** 选中组[editorService.select()](./editorServiceMethods.md#select)后触发
- **详情:** 选中组[editorService.select()](./editorServiceMethods.md#select)后触发
- **回调函数:** (node: [MNode](https://github.com/Tencent/tmagic-editor/blob/c143a5f7670ae61d80c1a2cfcc780cfb5259849d/packages/schema/src/index.ts#L99)) => void
## add
- **详情:** 选中组[editorService.add()](./editorServiceMethods.md#add)后触发
- **详情:** 选中组[editorService.add()](./editorServiceMethods.md#add)后触发
- **回调函数:** (node: [MNode](https://github.com/Tencent/tmagic-editor/blob/c143a5f7670ae61d80c1a2cfcc780cfb5259849d/packages/schema/src/index.ts#L99)[]) => void
## remove
- **详情:** 选中组[editorService.remove()](./editorServiceMethods.md#remove)后触发
- **详情:** 选中组[editorService.remove()](./editorServiceMethods.md#remove)后触发
- **回调函数:** (node: [MNode](https://github.com/Tencent/tmagic-editor/blob/c143a5f7670ae61d80c1a2cfcc780cfb5259849d/packages/schema/src/index.ts#L99)[]) => void
## update
- **详情:** 选中组[editorService.update()](./editorServiceMethods.md#update)后触发
- **详情:** 选中组[editorService.update()](./editorServiceMethods.md#update)后触发
- **回调函数:** (node: [MNode](https://github.com/Tencent/tmagic-editor/blob/c143a5f7670ae61d80c1a2cfcc780cfb5259849d/packages/schema/src/index.ts#L99)[]) => void
## history-change
- **详情:** 历史记录改变,[editorService.redo()editorService.undo()](./editorServiceMethods.html#undo)后触发
- **回调函数:** (node: [MNode](https://github.com/Tencent/tmagic-editor/blob/c143a5f7670ae61d80c1a2cfcc780cfb5259849d/packages/schema/src/index.ts#L99)) => void