Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(editor): migrate tiptap-markdown import to @tiptap/markdown
Naiyuan Qing38e92040c423
diff --git a/apps/web/components/common/rich-text-editor.tsx b/apps/web/components/common/rich-text-editor.tsxindex 188030decc..447c42785c 100644--- a/apps/web/components/common/rich-text-editor.tsx+++ b/apps/web/components/common/rich-text-editor.tsx@@ -12,7 +12,7 @@ import Placeholder from "@tiptap/extension-placeholder";import Link from "@tiptap/extension-link";import Typography from "@tiptap/extension-typography";import Mention from "@tiptap/extension-mention";-import { Markdown } from "tiptap-markdown";+import { Markdown } from "@tiptap/markdown";import { Extension } from "@tiptap/core";import { cn } from "@/lib/utils";import { createMentionSuggestion } from "./mention-suggestion";@@ -184,11 +184,7 @@ const RichTextEditor = forwardRef<RichTextEditorRef, RichTextEditorProps>(LinkExtension,Typography,MentionExtension,- Markdown.configure({- html: false,- transformPastedText: true,- transformCopiedText: true,- }),+ Markdown,createSubmitExtension(() => onSubmitRef.current?.()),],onUpdate: ({ editor: ed }) => {