tiptap/docs/api/nodes/emoji.md

25 lines
912 B
Markdown
Raw Normal View History

---
description: "Not ready yet. :construction:"
2021-10-15 03:20:21 +08:00
icon: emotion-line
---
2021-01-18 21:39:26 +08:00
# Emoji
2021-03-31 02:45:48 +08:00
## Support for emojis
There is no extension or example yet, but its definitely on our list to build a dedicated extension to add emoji support.
2021-04-09 05:00:01 +08:00
If you want to give it a shot yourself, you could start altering the [`Mention`](/api/nodes/mention) node. This uses the [`Suggestion`](/api/utilities/suggestion) utility, which should help with an autocomplete and such things.
2021-03-31 02:45:48 +08:00
2021-02-06 03:37:09 +08:00
:::pro Fund the development ♥
2021-04-16 03:48:19 +08:00
We need your support to maintain, update, support and develop tiptap. If youre waiting for this extension, [become a sponsor and fund our work](/sponsor).
2021-01-18 21:39:26 +08:00
:::
2021-03-31 02:45:48 +08:00
## Bring your own emoji picker
You can use any emoji picker, or build your own. Just use [commands](/api/commands) to insert the picked emojis.
```js
this.editor.chain().focus().insertContent('✨').run()
2021-03-31 02:45:48 +08:00
```
<tiptap-demo name="Nodes/Emoji"></tiptap-demo>