Docs
Emoji
Emoji
Insert emoji inline.
🙂 Emoji's
Express yourself with a touch of fun 🎉 and emotion 😃.
Pick from the toolbar or write after the colon to open the combobox :
Installation
npm install @udecode/plate-emoji @udecode/plate-combobox
Usage
import { createComboboxPlugin } from '@udecode/plate-combobox';
import { createEmojiPlugin } from '@udecode/plate-emoji';
const plugins = [
// ...otherPlugins,
createComboboxPlugin(),
createEmojiPlugin(),
];
API
createEmojiPlugin
Options
Collapse all
The trigger character(s) for the emoji.
A function to create an Emoji. TData is the type of the data used to create the emoji.
A controller object that controls the emoji triggering behavior.
The ID of the plugin.