diff --git a/README.md b/README.md index 98b823d..50fb2cf 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ Coming soon... --> | listMaxIndent | `number` | optional | The maximum indent capacity of any listed element, the default is `7` | | isReadOnly | `boolean` | optional | Enables read-only mode for the editor, default is `false` | | initialEditorState | `string` | optional | JSON string to initialize the initial content of the editor. | -| onChange | `(state) => void` | optional | Accessing the current editor state | +| onChange | `(editorState: string, editorInstance?: LexicalEditor) => void` | optional | Accessing the current editor state and the active editor instance |