ueberdosis/tiptap · error
[tiptap warn]: Extension "${extensionName}" returned a decor
Error message
[tiptap warn]: Extension "${extensionName}" returned a decoration outside the requested range [${from}, ${to}). It was ignored. What it means
Error "[tiptap warn]: Extension "${extensionName}" returned a decoration outside the requested range [${from}, ${to}). It was ignored." thrown in ueberdosis/tiptap.
Source
Thrown at packages/core/src/decorations/helpers/filterOutOfRangeDecorations.ts:44
to,
docSize,
extensionName,
warnedExtensions,
}: FilterOutOfRangeDecorationsOptions): Decoration[] {
return decorations.filter(decoration => {
if (rangeOwnsPosition({ position: decoration.anchor, from, to, docSize })) {
return true
}
// The next block owns `to` and rebuilds it there, so this is a normal
// overlap from scanning the boundary, not an authoring mistake.
if (decoration.anchor === to) {
return false
}
if (!warnedExtensions.has(extensionName)) {
warnedExtensions.add(extensionName)
console.warn(
`[tiptap warn]: Extension "${extensionName}" returned a decoration outside the ` +
`requested range [${from}, ${to}). It was ignored.`,
)
}
return false
})
}
View on GitHub (pinned to 496d53afd7)
When it happens
Trigger: Thrown at packages/core/src/decorations/helpers/filterOutOfRangeDecorations.ts:44 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of ueberdosis/tiptap@496d53afd7 (2026-08-26).
Data as JSON: /api/errors/4533f412c6f0770b.
Report an issue: GitHub.