diff --git a/README.md b/README.md index f471116..bc3099a 100644 --- a/README.md +++ b/README.md @@ -189,6 +189,24 @@ The Emoji component being a [functional component](https://medium.com/missive-ap }}> ``` +#### Using with `contentEditable` +Following the `dangerouslySetInnerHTML` example above, make sure the wrapping `span` sets `contenteditable="false"`. + +```js +
+ Looks good to me + + +
+``` + ## Custom emojis You can provide custom emojis which will show up in their own category.