import { Extension as t } from "@tiptap/core"
import { Blockquote as o } from "@tiptap/extension-blockquote"
import { Bold as i } from "@tiptap/extension-bold"
import { BulletList as s } from "@tiptap/extension-bullet-list"
import { Code as p } from "@tiptap/extension-code"
import { CodeBlock as r } from "@tiptap/extension-code-block"
import { Document as e } from "@tiptap/extension-document"
import { Dropcursor as n } from "@tiptap/extension-dropcursor"
import { Gapcursor as h } from "@tiptap/extension-gapcursor"
import { HardBreak as u } from "@tiptap/extension-hard-break"
import { History as c } from "@tiptap/extension-history"
import { Italic as a } from "@tiptap/extension-italic"
import { ListItem as m } from "@tiptap/extension-list-item"
import { OrderedList as f } from "@tiptap/extension-ordered-list"
import { Paragraph as d } from "@tiptap/extension-paragraph"
import { Strike as l } from "@tiptap/extension-strike"
import { Text as g } from "@tiptap/extension-text"
export const StarterKit = t.create({
name: "starterKit",
addExtensions() {
const t = []
return (
!1 !== this.options.blockquote && t.push(o.configure(this.options?.blockquote)),
!1 !== this.options.bold && t.push(i.configure(this.options?.bold)),
!1 !== this.options.bulletList && t.push(s.configure(this.options?.bulletList)),
!1 !== this.options.code && t.push(p.configure(this.options?.code)),
!1 !== this.options.codeBlock && t.push(r.configure(this.options?.codeBlock)),
!1 !== this.options.document && t.push(e.configure(this.options?.document)),
!1 !== this.options.dropcursor && t.push(n.configure(this.options?.dropcursor)),
!1 !== this.options.gapcursor && t.push(h.configure(this.options?.gapcursor)),
!1 !== this.options.hardBreak && t.push(u.configure(this.options?.hardBreak)),
!1 !== this.options.history && t.push(c.configure(this.options?.history)),
!1 !== this.options.italic && t.push(a.configure(this.options?.italic)),
!1 !== this.options.listItem && t.push(m.configure(this.options?.listItem)),
!1 !== this.options.orderedList && t.push(f.configure(this.options?.orderedList)),
!1 !== this.options.paragraph && t.push(d.configure(this.options?.paragraph)),
!1 !== this.options.strike && t.push(l.configure(this.options?.strike)),
!1 !== this.options.text && t.push(g.configure(this.options?.text)),
t
)
},
})