draft-wysiwyg
draft-wysiwyg copied to clipboard
Compatibility with draft-js-mention-plugin and draft-js-emoji-plugin
Hi, I'm wondering if draft-wysiwyg is compatible with draft-js-mention-plugin and draft-js-emoji-plugin. With draft-js-emoji-plugin and draft-js-mention-plugin, we have to import the component for displaying suggestions using the instances of those plugin:
const emojiPlugin = createEmojiPlugin();
const { EmojiSuggestions } = emojiPlugin;
const mentionPlugin = createMentionPlugin();
const { MentionSuggestions } = mentionPlugin;
Can anyone point me to the right direction of how insert it properly to the createPlugins() function? Thanks.