Skip to content

Commit

Permalink
Update plugins.md (facebook#3926)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitarbikov authored Feb 16, 2023
1 parent 24678b6 commit e463b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lexical-website/docs/react/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ React wrapper for `@lexical/rich-text` that adds major features for rich text ed

### `LexicalOnChangePlugin`

Plugin that calls `onChange` whenever Lexical state is updated. Using `ignoreInitialChange` (`true` by default) and `ignoreSelectionChange` (`false` by default) can give more granular control over changes that are causing `onChange` call
Plugin that calls `onChange` whenever Lexical state is updated. Using `ignoreHistoryMergeTagChange` (`true` by default) and `ignoreSelectionChange` (`false` by default) can give more granular control over changes that are causing `onChange` call

```jsx
<OnChangePlugin onChange={onChange} />
Expand Down

0 comments on commit e463b0d

Please sign in to comment.