npm / @tiptap/suggestion
@tiptap/suggestion
What changed in @tiptap/suggestion 2 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-26.
2 breaking7 new APIs and options1 behavior and defaults2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@tiptap/suggestion 310 changes
New APIs and options 7
Adds a configuration option for dismissing managed suggestion popups when a click occurs outside both the popup and editor; enabled by default for popups mounted via props.mount.
Adds initialItems as part of async suggestion lifecycle handling.
Adds a loading state as part of async suggestion lifecycle handling.
Adds a minQueryLength filter as part of async suggestion lifecycle handling.
Adds props.mount(element) to mount and automatically position a popup, returning an unmount function; manual positioning remains supported.
Exposes placement, offset, flip, container, and resolved floatingUi configuration so consumers can drive their own positioning loop.
Adds a callback to filter when suggestions are displayed, useful in collaborative environments to prevent suggestions from opening for remote users.
Behavior and default changes 1
Supports debounced asynchronous suggestion items and aborts in-flight requests.
Fixes and other changes 2
Fixes peer dependency resolution conflicts when installing dependencies after package updates.
Suggestions dismissed via Escape no longer reappear while the user keeps typing in the same word; they return after whitespace, a newline, or moving the cursor to a different trigger.
@tiptap/suggestion 22 changes
Breaking changes 2
Install this required dependency for the Floating UI replacement affecting @tiptap/suggestion.
Suggestion replaces Tippy.js with Floating UI for floating elements, so integrations relying on Tippy.js need to migrate.