table of content is not working #7575
Unanswered
MR5553
asked this question in
Questions & Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
import { type MouseEvent } from "react";
import type { Editor } from "@tiptap/react";
import { cn } from "../lib/utils";
import { TextSelection } from "@tiptap/pm/state";
import { Link } from "react-router-dom";
import type { TableOfContentData } from "@tiptap/extension-table-of-contents";
const INDENT = 12;
type TableContentProps = {
Items: TableOfContentData
editor: Editor;
}
export default function TableContent({ Items, editor }: TableContentProps) {
}
Beta Was this translation helpful? Give feedback.
All reactions