Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go
336 B
Raw Blame
import { ReactNodeViewRenderer } from "@tiptap/react";
import { MentionView } from "./mention-view";
import { MentionSchema } from "../schema/mention";

export { mentionText } from "../schema/mention";

export const BaseMentionExtension = MentionSchema.extend({
  addNodeView() {
    return ReactNodeViewRenderer(MentionView);
  },
});