Skip to content

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

Go
319 B
Raw Blame
import { ReactNodeViewRenderer } from "@tiptap/react";
import { SlashCommandView } from "./slash-command-view";
import { SlashCommandSchema } from "../schema/slash-command";

export const SlashCommandExtension = SlashCommandSchema.extend({
  addNodeView() {
    return ReactNodeViewRenderer(SlashCommandView);
  },
});