@@ -3,20 +3,14 @@ import HorizontalRule from "@tiptap/extension-horizontal-rule";
33import TiptapLink from "@tiptap/extension-link" ;
44import Link from "@tiptap/extension-link" ;
55import Placeholder from "@tiptap/extension-placeholder" ;
6- import TiptapUnderline from "@tiptap/extension-underline" ;
76import TextStyle from "@tiptap/extension-text-style" ;
8- import { Color } from "@tiptap/extension-color" ;
97import { Markdown } from "tiptap-markdown" ;
10- import Highlight from "@tiptap/extension-highlight" ;
118import SlashCommand from "./slash-command" ;
129import { InputRule } from "@tiptap/core" ;
1310import UpdatedImage from "./updated-image" ;
1411import Document from "@tiptap/extension-document" ;
1512import Paragraph from "@tiptap/extension-paragraph" ;
1613import Text from "@tiptap/extension-text" ;
17- import TextAlign from "@tiptap/extension-text-align" ;
18- import Subscript from "@tiptap/extension-subscript" ;
19- import Superscript from "@tiptap/extension-superscript" ;
2014import Youtube from "@tiptap/extension-youtube" ;
2115
2216import type { NodeViewProps } from "@tiptap/react" ;
@@ -145,27 +139,17 @@ export const TiptapExtensions = [
145139 } ,
146140 } ) ,
147141 SlashCommand ,
148- TiptapUnderline ,
149142 TextStyle ,
150- Color ,
151143 Link . configure ( {
152144 HTMLAttributes : {
153145 class :
154146 "text-stone-400 underline underline-offset-[3px] hover:text-stone-600 transition-colors cursor-pointer" ,
155147 } ,
156148 } ) ,
157- Highlight . configure ( {
158- multicolor : true ,
159- } ) ,
160149 Markdown . configure ( {
161150 html : false ,
162151 transformCopiedText : true ,
163152 } ) ,
164- TextAlign . configure ( {
165- types : [ "heading" , "paragraph" ] ,
166- } ) ,
167- Subscript ,
168- Superscript ,
169153 // margin controlled in global.css
170154 Youtube . configure ( {
171155 width : 480 ,
0 commit comments