mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-27 23:15:15 +08:00
remove registerCommand from docs
This commit is contained in:
parent
014523b7f5
commit
2472a344f0
@ -178,8 +178,6 @@ Don’t confuse methods with [commands](/api/commands), which are used to change
|
||||
| `isEditable()` | - | Returns whether the editor is editable. |
|
||||
| `isEmpty()` | - | Check if there is no content. |
|
||||
| `getCharacterCount()` | - | Get the number of characters for the current document. |
|
||||
| `registerCommand()` | `name` The name of your command<br>`callback` The method of your command | Register a command. |
|
||||
| `registerCommands()` | `commands` A list of commands | Register a list of commands. |
|
||||
| `registerPlugin()` | `plugin` A ProseMirror plugin<br>`handlePlugins` Control how to merge the plugin into the existing plugins. | Register a ProseMirror plugin. |
|
||||
| `setOptions()` | `options` A list of options | Update editor options. |
|
||||
| `unregisterPlugin()` | `name` The plugins name | Unregister a ProseMirror plugin. |
|
||||
|
Loading…
Reference in New Issue
Block a user