mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-16 18:25:17 +02:00
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
This commit is contained in:
parent
983a4c578f
commit
7d90c90265
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue