diff --git a/src/RichText.js b/src/RichText.js index a5bc554b95..7cd78a14c9 100644 --- a/src/RichText.js +++ b/src/RichText.js @@ -98,7 +98,7 @@ function unicodeToEmojiUri(str) { return str; } -// Unused for now, due to https://github.com/facebook/draft-js/issues/414 +// Workaround for https://github.com/facebook/draft-js/issues/414 let emojiDecorator = { strategy: (contentBlock, callback) => { findWithRegex(EMOJI_REGEX, contentBlock, callback); @@ -115,7 +115,7 @@ let emojiDecorator = { backgroundPosition: 'center center', overflow: 'hidden', }; - return ({props.children}); + return ({props.children}); }, };