ueberdosis/tiptap · error
[tiptap warn]: "@tiptap/extension-collaboration" comes with
Error message
[tiptap warn]: "@tiptap/extension-collaboration" comes with its own history support and is not compatible with "@tiptap/extension-undo-redo".
What it means
Error "[tiptap warn]: "@tiptap/extension-collaboration" comes with its own history support and is not compatible with "@tiptap/extension-undo-redo"." thrown in ueberdosis/tiptap.
Source
Thrown at packages/extension-collaboration/src/collaboration.ts:113
addOptions() {
return {
document: null,
field: 'default',
fragment: null,
provider: null,
}
},
addStorage() {
return {
isDisabled: false,
}
},
onCreate() {
if (this.editor.extensionManager.extensions.find(extension => extension.name === 'undoRedo')) {
console.warn(
'[tiptap warn]: "@tiptap/extension-collaboration" comes with its own history support and is not compatible with "@tiptap/extension-undo-redo".',
)
}
},
onBeforeCreate() {
this.editor.utils.getUpdatedPosition = (position, transaction) =>
getUpdatedPosition(position, transaction, this.editor.state)
this.editor.utils.createMappablePosition = position =>
createMappablePosition(position, this.editor.state)
},
addCommands() {
return {
undo:
() =>
({ tr, state, dispatch }) => {
tr.setMeta('preventDispatch', true)View on GitHub (pinned to 496d53afd7)
When it happens
Trigger: Thrown at packages/extension-collaboration/src/collaboration.ts:113 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/4f1c5572b3987e04.
Report an issue: GitHub.