diff --git a/package-lock.json b/package-lock.json
index 3a86a28..6237a8f 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -41,7 +41,6 @@
"@tiptap/extension-text": "^2.11.2",
"@tiptap/extension-text-align": "^2.11.2",
"@tiptap/extension-typography": "^2.11.2",
- "@tiptap/extension-underline": "^2.11.2",
"@tiptap/extension-youtube": "^2.11.2",
"@tiptap/pm": "^2.11.2",
"@tiptap/react": "^2.11.2",
@@ -4590,19 +4589,6 @@
"@tiptap/core": "^2.7.0"
}
},
- "node_modules/@tiptap/extension-underline": {
- "version": "2.11.2",
- "resolved": "https://registry.npmjs.org/@tiptap/extension-underline/-/extension-underline-2.11.2.tgz",
- "integrity": "sha512-Gq7hfV3D/3E1zoE6JXSYZ3boKfbjebFu7IuQZ6w6QSS/IkGN8c6kW+WtkhOKN3jV7Z5uF5KIVp3XCqNIwChWNQ==",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.7.0"
- }
- },
"node_modules/@tiptap/extension-youtube": {
"version": "2.11.2",
"resolved": "https://registry.npmjs.org/@tiptap/extension-youtube/-/extension-youtube-2.11.2.tgz",
diff --git a/package.json b/package.json
index 1f2915b..f5500ca 100644
--- a/package.json
+++ b/package.json
@@ -42,7 +42,6 @@
"@tiptap/extension-text": "^2.11.2",
"@tiptap/extension-text-align": "^2.11.2",
"@tiptap/extension-typography": "^2.11.2",
- "@tiptap/extension-underline": "^2.11.2",
"@tiptap/extension-youtube": "^2.11.2",
"@tiptap/pm": "^2.11.2",
"@tiptap/react": "^2.11.2",
diff --git a/src/components/editor/EditorMenuBar.tsx b/src/components/editor/EditorMenuBar.tsx
index c03cf5e..ac15791 100644
--- a/src/components/editor/EditorMenuBar.tsx
+++ b/src/components/editor/EditorMenuBar.tsx
@@ -18,7 +18,6 @@ import {
Strikethrough,
Subscript,
Superscript,
- Underline,
Undo,
} from "lucide-react";
import EditorMenuButton from "./EditorMenuButton";
@@ -125,12 +124,6 @@ export default function EditorMenuBar({ editor }: EditorMenuProps) {
disabled: false,
isActive: editor.isActive("italic"),
},
- {
- icon: ,
- onClick: () => editor.chain().focus().toggleUnderline().run(),
- disabled: false,
- isActive: editor.isActive("underline"),
- },
{
icon: ,
onClick: () => editor.chain().focus().toggleHighlight().run(),
diff --git a/src/components/editor/index.tsx b/src/components/editor/index.tsx
index 19659e9..772bee2 100644
--- a/src/components/editor/index.tsx
+++ b/src/components/editor/index.tsx
@@ -8,7 +8,6 @@ import { useEditor, EditorContent } from "@tiptap/react";
import EditorMenuBar from "./EditorMenuBar";
import Bold from "@tiptap/extension-bold";
import Italic from "@tiptap/extension-italic";
-import Underline from "@tiptap/extension-underline";
import Highlight from "@tiptap/extension-highlight";
import Strike from "@tiptap/extension-strike";
import Subscript from "@tiptap/extension-subscript";
@@ -66,7 +65,6 @@ export default function Editor({
}),
Bold,
Italic,
- Underline,
Highlight,
Strike,
Subscript,