mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-07 07:46:32 +02:00
Fix typo in ReactEditor docs
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# ReactEditor
|
||||
|
||||
`ReactEditor` is added to `Editor` when it is instntiated using the `withReact` method.
|
||||
`ReactEditor` is added to `Editor` when it is instantiated using the `withReact` method.
|
||||
|
||||
```typescript
|
||||
const [editor] = useState(() => withReact(withHistory(createEditor())))
|
||||
|
Reference in New Issue
Block a user