File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
docs/client/components/pages/Home Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import createHashtagPlugin from 'draft-js-hashtag-plugin';
4
4
import createStickerPlugin from 'draft-js-sticker-plugin' ;
5
5
import createLinkifyPlugin from 'draft-js-linkify-plugin' ;
6
6
import createMentionPlugin from 'draft-js-mention-plugin' ;
7
+ import createEmojiPlugin from 'draft-js-emoji-plugin' ;
7
8
import createUndoPlugin from 'draft-js-undo-plugin' ;
8
9
import styles from './styles.css' ;
9
10
import stickers from './stickers' ;
@@ -15,6 +16,7 @@ import {
15
16
} from 'draft-js' ;
16
17
import initialState from './initialState' ;
17
18
19
+ const emojiPlugin = createEmojiPlugin ( ) ;
18
20
const hashtagPlugin = createHashtagPlugin ( ) ;
19
21
const linkifyPlugin = createLinkifyPlugin ( ) ;
20
22
const mentionPlugin = createMentionPlugin ( {
@@ -28,6 +30,7 @@ const { StickerSelect } = stickerPlugin;
28
30
const { UndoButton, RedoButton } = undoPlugin ;
29
31
30
32
const plugins = [
33
+ emojiPlugin ,
31
34
hashtagPlugin ,
32
35
stickerPlugin ,
33
36
linkifyPlugin ,
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ export default class App extends Component {
151
151
< li > Hashtags</ li >
152
152
< li > Linkfiy (automatically turns links into a-tags)</ li >
153
153
< li > Mentions</ li >
154
- < li > Emojis (coming tomorrow …) </ li >
154
+ < li > Emojis</ li >
155
155
</ ul >
156
156
</ div >
157
157
< Heading level = { 3 } > Why a UnicornEditor?</ Heading >
You can’t perform that action at this time.
0 commit comments