1.0.3 • Published 11 months ago

tiptap-multi-mention v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

Tiptap Multi Mention

This is a Tiptap extension that allows you to use multiple mention instances of the plugin.

Usage

Use the createMention function to create a mention extension.

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,
]
1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago