kaneo (minimalist kanban) fork to experiment adding a tangled integration github.com/usekaneo/kaneo
at main 18 lines 602 B view raw
1import CommentEditor from "@/components/activity/comment-editor"; 2 3type MarkdownRendererProps = { 4 content: string; 5}; 6 7export function MarkdownRenderer({ content }: MarkdownRendererProps) { 8 return ( 9 <CommentEditor 10 value={content} 11 readOnly 12 showBubbleMenu={false} 13 proseClassName="kaneo-tiptap-prose" 14 contentClassName="kaneo-tiptap-content" 15 className="[&_.kaneo-tiptap-content_.ProseMirror]:max-h-none [&_.kaneo-tiptap-content_.ProseMirror]:overflow-visible [&_.kaneo-tiptap-content_.ProseMirror]:px-0 [&_.kaneo-tiptap-content_.ProseMirror]:py-0" 16 /> 17 ); 18}