Skip to content

Commit

Permalink
Merge pull request #9759 from marmelab/doc/fix-tiptp-typo
Browse files Browse the repository at this point in the history
[Doc] Fix TipTap typo
  • Loading branch information
djhi authored Apr 8, 2024
2 parents 0f3a37b + 8193ad1 commit 582e305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/RichTextInput.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const MyRichTextInput = ({ size, ...props }) => (

## Calling The `editor` Object

You may want to access the TipTp `editor` object to tweak extensions, input rules, etc. (see [the TipTap editor documentation](https://tiptap.dev/docs/editor/api/editor) for details). To do so, you can assign a `ref` in the `onCreate` function in the `editorOptions` prop of your `<RichTextInput>` component, as follows:
You may want to access the TipTap `editor` object to tweak extensions, input rules, etc. (see [the TipTap editor documentation](https://tiptap.dev/docs/editor/api/editor) for details). To do so, you can assign a `ref` in the `onCreate` function in the `editorOptions` prop of your `<RichTextInput>` component, as follows:

{% raw %}
```tsx
Expand Down

0 comments on commit 582e305

Please sign in to comment.