chore(editor): 更新service plugin 使用方法注释

This commit is contained in:
roymondchen 2022-11-17 17:19:24 +08:00
parent bb5aa6722f
commit 0fa44da0d4

View File

@ -77,7 +77,7 @@ const doAction = async (
* *
* editorService.usePlugin({ * editorService.usePlugin({
* beforeAdd(value) { return [value] }, * beforeAdd(value) { return [value] },
* afterAdd(value, result) {}, * afterAdd(result, value) { return result },
* }); * });
* *
* editorService.add(); () => { * editorService.add(); () => {