mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-04-19 21:01:57 +02:00
update plugins reference
This commit is contained in:
parent
0d603c3293
commit
e85f8e9fea
@ -60,7 +60,8 @@ This handler is called when any key is pressed in the `contenteditable` element,
|
||||
Make sure to `event.preventDefault()` if you do not want the default insertion behavior to occur! If no other plugin handles this event, it will be handled by the [Core plugin](./core.md).
|
||||
|
||||
### `onPaste`
|
||||
<code>(event, paste, state, editor) => State || Void</code>
|
||||
|
||||
`onPaste(event, paste, state, editor) => State || Void`
|
||||
|
||||
This handler is called when the user pastes content into the `contenteditable` element. The event is already prevented by default, so you must define a state change to have any affect occur.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user