Skip to content

Commit

Permalink
fix: update docs example (#5586)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpulec authored Feb 6, 2024
1 parent b49170a commit 9465e91
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 @@ -183,5 +183,5 @@ Allows you to get a ref to the underlying editor instance outside of LexicalComp
from a separate part of your application.
```jsx
const editorRef = useRef(null);
<EditorRefPlugin editorRef={ref}>
<EditorRefPlugin editorRef={editorRef} />
```

0 comments on commit 9465e91

Please sign in to comment.