From 101e639b2904f7d5a57b9b55a2b2efc61bc2c238 Mon Sep 17 00:00:00 2001 From: Martin Klepsch Date: Thu, 12 May 2016 23:15:12 +0200 Subject: [PATCH] add onTextInput to Editor Lifecycle Hook section closes #398 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2647433db..988e01056 100644 --- a/README.md +++ b/README.md @@ -130,6 +130,7 @@ The available lifecycle hooks are: edited post. * `editor.cursorDidChange()` - When the cursor (or selection) changes as a result of arrow-key movement or clicking in the document. +* `editor.onTextInput()` - When the user adds text to the document (see [example](https://github.com/bustlelabs/mobiledoc-kit#responding-to-text-input)) ### Programmatic Post Editing