feat(tiptap): add discord-style emoji suggestion support (#1066)
Co-authored-by: Daniel Roe <daniel@roe.dev>
This commit is contained in:
parent
9898a19358
commit
e847f8ef1d
4 changed files with 172 additions and 0 deletions
|
@ -58,6 +58,11 @@ export function useTiptap(options: UseTiptapOptions) {
|
|||
.configure({
|
||||
suggestion: HashtagSuggestion,
|
||||
}),
|
||||
Mention
|
||||
.extend({ name: 'emoji' })
|
||||
.configure({
|
||||
suggestion: EmojiSuggestion,
|
||||
}),
|
||||
Placeholder.configure({
|
||||
placeholder: () => placeholder.value!,
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue