diff --git a/docs/libraries/slate-react/hooks.md b/docs/libraries/slate-react/hooks.md index 5b896a2f9..358655b60 100644 --- a/docs/libraries/slate-react/hooks.md +++ b/docs/libraries/slate-react/hooks.md @@ -12,6 +12,8 @@ React hooks for Slate editors Get the current `composing` state of the editor. It deals with `compositionstart`, `compositionupdate`, `compositionend` events. +Composition events are triggered by typing (composing) with a language that uses a composition character (e.g. Chinese, Japanese, Korean, etc.) [example](https://en.wikipedia.org/wiki/Input_method#/media/File:Typing_%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4_in_Dubeolsik_keyboard_layout.gif). + #### `useFocused(): boolean` Get the current `focused` state of the editor.