chore(editor): 更新service plugin 使用方法注释
This commit is contained in:
@@ -77,7 +77,7 @@ const doAction = async (
|
||||
*
|
||||
* editorService.usePlugin({
|
||||
* beforeAdd(value) { return [value] },
|
||||
* afterAdd(value, result) {},
|
||||
* afterAdd(result, value) { return result },
|
||||
* });
|
||||
*
|
||||
* editorService.add(); 最终会变成 () => {
|
||||
|
||||
Reference in New Issue
Block a user