docs: update plugin markdown #789

This commit is contained in:
Hufe921
2024-08-26 19:26:28 +08:00
parent 059cddf7e4
commit 91c68e8dcd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -21,5 +21,5 @@ export function myPlugin(editor: Editor, options?: Option) {
## 使用插件
```javascript
instance.add(myPlugin, options?: Option)
instance.use(myPlugin, options?: Option)
```