1
0
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:
Ian Storm Taylor 2016-07-12 11:18:21 -07:00
parent 0d603c3293
commit e85f8e9fea

View File

@ -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.