mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 22:36:14 +08:00
docs: add the emoji extension
This commit is contained in:
parent
75e55e548d
commit
7a2b02bfcf
@ -1,24 +0,0 @@
|
||||
---
|
||||
description: "Not ready yet. :construction:"
|
||||
icon: emotion-line
|
||||
---
|
||||
|
||||
# Emoji
|
||||
|
||||
## Support for emojis
|
||||
There is no extension or example yet, but it’s definitely on our list to build a dedicated extension to add emoji support.
|
||||
|
||||
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.
|
||||
|
||||
:::pro Fund the development ♥
|
||||
We need your support to maintain, update, support and develop Tiptap. If you’re waiting for this extension, [become a sponsor and fund our work](/sponsor).
|
||||
:::
|
||||
|
||||
## 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()
|
||||
```
|
||||
|
||||
https://embed.tiptap.dev/preview/Nodes/Emoji
|
@ -272,7 +272,7 @@
|
||||
link: /api/nodes/document
|
||||
- title: Emoji
|
||||
link: /api/nodes/emoji
|
||||
type: draft
|
||||
type: new
|
||||
- title: HardBreak
|
||||
link: /api/nodes/hard-break
|
||||
- title: Hashtag
|
||||
@ -342,7 +342,6 @@
|
||||
link: /api/extensions/collaboration-cursor
|
||||
- title: Color
|
||||
link: /api/extensions/color
|
||||
type: new
|
||||
- title: Dropcursor
|
||||
link: /api/extensions/dropcursor
|
||||
- title: FloatingMenu
|
||||
|
Loading…
Reference in New Issue
Block a user