From e85f8e9fea281425208395fa4f9d506ea2639857 Mon Sep 17 00:00:00 2001 From: Ian Storm Taylor Date: Tue, 12 Jul 2016 11:18:21 -0700 Subject: [PATCH] update plugins reference --- docs/reference/plugins/plugins.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/reference/plugins/plugins.md b/docs/reference/plugins/plugins.md index 5879baf91..61c2a3642 100644 --- a/docs/reference/plugins/plugins.md +++ b/docs/reference/plugins/plugins.md @@ -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` -(event, paste, state, editor) => State || Void + +`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.