From 7d90c90265ae4a0665faf9012bd65e9f27c6ef47 Mon Sep 17 00:00:00 2001 From: Aaron Culich Date: Tue, 17 Mar 2026 16:24:15 -0700 Subject: [PATCH] fix(editor): disable StarterKit Link to prevent duplicate extension warning StarterKit v3.x now includes the Link extension by default. The codebase separately adds Link.configure() with custom settings (openOnClick: false, custom HTMLAttributes). This caused the Tiptap warning: "Duplicate extension names found: ['link']" Disable StarterKit's built-in Link so the custom-configured one is used. Made-with: Cursor --- apps/x/apps/renderer/src/components/markdown-editor.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/x/apps/renderer/src/components/markdown-editor.tsx b/apps/x/apps/renderer/src/components/markdown-editor.tsx index 6bcaef29..16bebfd7 100644 --- a/apps/x/apps/renderer/src/components/markdown-editor.tsx +++ b/apps/x/apps/renderer/src/components/markdown-editor.tsx @@ -311,6 +311,7 @@ export function MarkdownEditor({ heading: { levels: [1, 2, 3], }, + link: false, // Disable StarterKit's Link to use custom-configured one below }), Link.configure({ openOnClick: false,