diff --git a/packages/editor/src/core/extensions/mentions/extension.tsx b/packages/editor/src/core/extensions/mentions/extension.tsx index f6777cafc..7f4251b07 100644 --- a/packages/editor/src/core/extensions/mentions/extension.tsx +++ b/packages/editor/src/core/extensions/mentions/extension.tsx @@ -52,11 +52,9 @@ export const CustomMention = ({ }, }; }, - addNodeView() { return ReactNodeViewRenderer(MentionNodeView); }, - parseHTML() { return [ { @@ -67,12 +65,14 @@ export const CustomMention = ({ renderHTML({ HTMLAttributes }) { return ["mention-component", mergeAttributes(HTMLAttributes)]; }, + }).configure({ HTMLAttributes: { class: "mention", }, readonly: readonly, - mentionHighlights: mentionHighlights, + mentionHighlights, suggestion: { + // @ts-expect-error - Tiptap types are incorrect render: () => { if (!mentionSuggestions) return; let component: ReactRenderer | null = null; diff --git a/web/core/components/issues/issue-modal/form.tsx b/web/core/components/issues/issue-modal/form.tsx index 990509e5e..edd99f033 100644 --- a/web/core/components/issues/issue-modal/form.tsx +++ b/web/core/components/issues/issue-modal/form.tsx @@ -456,7 +456,7 @@ export const IssueFormRoot: FC = observer((props) => { ref={editorRef} tabIndex={getTabIndex("description_html")} placeholder={getDescriptionPlaceholder} - containerClassName="pt-3 min-h-[150px] max-h-64 overflow-y-auto vertical-scrollbar scrollbar-sm" + containerClassName="pt-3 min-h-[150px]" /> )} />