npm / @tiptap/extension-link
@tiptap/extension-link
What changed in @tiptap/extension-link 1 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
3 breaking3 new APIs and options2 behavior and defaults3 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@tiptap/extension-link 38 changes
Breaking changes 2
Fixes acceptance of unknown protocols with hyphens, so unknown hyphenated schemes are rejected.
Bare hostnames such as localhost and IP addresses without a protocol prefix are no longer auto-linked.
New APIs and options 2
Opt in to automatically convert typed or pasted Markdown link syntax into a link.
The Link extension adds a title attribute that can be set via setLink and toggleLink and is rendered as an HTML title attribute.
Behavior and default changes 1
Markdown rendering serializes links with titles as
[text](url "title").
Fixes and other changes 3
Explicitly undefined target, rel, and class HTMLAttributes are coerced to null, preventing ProseMirror attribute warnings.
The link click handler now returns early for non-link elements, so other node handlers can process the click and elements like images can be selected with one click.
Click selection now works regardless of the openOnClick option because the link click handler plugin is always registered.
@tiptap/extension-link 21 changes
Behavior and default changes 1
StarterKit now includes Link by default, so projects using StarterKit can remove a separately installed Link extension.
@tiptap/extension-link 12 changes
Breaking changes 1
Commands no longer focus the editor automatically; call focus explicitly when needed.
New APIs and options 1
Commands can be combined into one call using chain; run executes the commands in the chain.