Skip to content

Commit 7a1e3d6

Browse files
Update HOW_TO_CREATE_A_PLUGIN.md
1 parent 1da9943 commit 7a1e3d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HOW_TO_CREATE_A_PLUGIN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ All functions receive an additional argument. This argument is an object contain
8686
In addition the a plugin accepts
8787

8888
- `initialize: (PluginFunctions) => void`
89-
- `onChange: (EditorState) => EditorState`
89+
- `onChange: (EditorState, PluginFunctions) => EditorState`
9090
- `willUnmount: (PluginFunctions) => void`
9191
- `decorators: Array<Decorator> => void`
9292
- `getAccessibilityProps: () => { ariaHasPopup: string, ariaExpanded: string }`

0 commit comments

Comments
 (0)