-
Notifications
You must be signed in to change notification settings - Fork 0
utkarshx/tiptap-multi-mention
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# Tiptap Multi Mention This is a [Tiptap](https://tiptap.dev/) extension that allows you to use multiple mention instances of the plugin. ## Usage Use the `createMention` function to create a mention extension. ```ts import { createMention } from 'tiptap-multi-mention' const MentionSlash = createMention({ name: 'mentionSlash', HTMLAttributes: { class: 'cbSlash', }, suggestion: { ...SlashSuggestion, char: '/', }, }) const MentionAt = createMention({ name: 'mentionAt', HTMLAttributes: { class: 'mention', }, suggestion: { ...suggestion, char: '@', }, }) const extensions = [ MentionSlash, MenntionAt, ] ```
About
Multiple Mentions using the same mention plugin
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published