import StarterKit from "@tiptap/starter-kit"; import Image from "@tiptap/extension-image"; import Link from "@tiptap/extension-link"; import { TableKit } from "@tiptap/extension-table"; // Define extensions compatible with standard Markdown features // We use the default Tiptap extensions to handle basic content // TableKit is required for generateJSON to parse HTML tables from marked (GFM tables) export const tiptapExtensions = [ StarterKit.configure({ // Explicitly enable features that might be disabled in some contexts codeBlock: {}, heading: {}, }), Image.configure({ inline: false, }), Link.configure({ openOnClick: false, }), TableKit, ];