rowboatlabs / rowboatlabs/rowboat

Console warning: Duplicate extension names found ['link'] in Tiptap editor

Open
#433 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
17.6k
Forks
1.7k
Avg merge
11h 37m
Merged PRs (30d)
173

Description

## Description

The browser console shows a warning on every editor mount:

```
[tiptap warn]: Duplicate extension names found: ['link']. This can lead to issues.
```

## Steps to Reproduce

1. Open the app
2. Open any markdown file
3. Check browser DevTools console
4. Warning appears every time the editor mounts

## Expected Behavior

No duplicate extension warnings in the console.

## Actual Behavior

Warning spam on every editor mount, and potential for unpredictable behavior when two extensions share the same name.

## Root Cause (Investigation)

StarterKit v3.x now includes the Link extension by default. The codebase also separately adds `Link.configure()` with custom settings (`openOnClick: false`, custom HTMLAttributes). This results in two Link extensions being registered.

## Impact

- Console warning spam
- Unpredictable behavior when two extensions share a name (Tiptap uses one and ignores the other non-deterministically)
- Configuration conflicts between StarterKit's Link defaults and the custom settings

## Environment

- Rowboat version: v0.1.60
- Tiptap version: 3.15.x
- OS: All platforms

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the editor extension setup that registers StarterKit and Link, then inspect how StarterKit v3 handles Link by default. Mount the editor and verify that the duplicate-extension warning no longer appears while the custom link behavior and HTML attributes remain effective.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.