Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

Tidying up

Matt Roberts6ae9d48269e9
diff --git a/package-lock.json b/package-lock.json
index 0c2d7d446..93ac78e2b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10,7 +10,6 @@
"dependencies": {
"@lingui/format-json": "^5.1.2",
"@lingui/react": "^5.1.2",
- "@tiptap/extension-hard-break": "^2.11.5",
"@tiptap/extension-image": "^2.22.3",
"@tiptap/extension-link": "^2.11.5",
"@tiptap/extension-mention": "^2.11.5",
@@ -83,8 +82,8 @@
"webpack-cli": "4.9.2"
},
"engines": {
- "node": "21.x || 22.x",
- "npm": "10.x"
+ "node": "21.x || 22.x || 24.x",
+ "npm": "10.x || 11.x"
}
},
"node_modules/@ampproject/remapping": {
diff --git a/package.json b/package.json
index 0b1b90b2f..875242cd6 100644
--- a/package.json
+++ b/package.json
@@ -6,7 +6,6 @@
"dependencies": {
"@lingui/format-json": "^5.1.2",
"@lingui/react": "^5.1.2",
- "@tiptap/extension-hard-break": "^2.11.5",
"@tiptap/extension-image": "^2.22.3",
"@tiptap/extension-link": "^2.11.5",
"@tiptap/extension-mention": "^2.11.5",
@@ -103,8 +102,8 @@
}
},
"engines": {
- "npm": "10.x",
- "node": "21.x || 22.x"
+ "npm": "10.x || 11.x",
+ "node": "21.x || 22.x || 24.x"
},
"scripts": {
"heroku-postbuild": "make build-ssr && make build-ui"
diff --git a/public/components/common/form/CommentEditor.tsx b/public/components/common/form/CommentEditor.tsx
index bd273673c..a36a8ce5f 100644
--- a/public/components/common/form/CommentEditor.tsx
+++ b/public/components/common/form/CommentEditor.tsx
@@ -5,10 +5,6 @@ import React, { useState, useRef, useEffect } from "react"
import { EditorContent, useEditor } from "@tiptap/react"
import { Markdown } from "tiptap-markdown"
import Placeholder from "@tiptap/extension-placeholder"
-import Document from "@tiptap/extension-document"
-import Paragraph from "@tiptap/extension-paragraph"
-import Text from "@tiptap/extension-text"
-import HardBreak from "@tiptap/extension-hard-break"
import { i18n } from "@lingui/core"
import { useAllowedProtocols } from "@fider/hooks"