mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
chore(editor): 更新service plugin 使用方法注释
This commit is contained in:
parent
bb5aa6722f
commit
0fa44da0d4
@ -77,7 +77,7 @@ const doAction = async (
|
||||
*
|
||||
* editorService.usePlugin({
|
||||
* beforeAdd(value) { return [value] },
|
||||
* afterAdd(value, result) {},
|
||||
* afterAdd(result, value) { return result },
|
||||
* });
|
||||
*
|
||||
* editorService.add(); 最终会变成 () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user