ueberdosis/tiptap · error

[tiptap warn]: DEPRECATED: The "user" command is deprecated.

Error message

[tiptap warn]: DEPRECATED: The "user" command is deprecated. Please use "updateUser" instead. Read more: https://tiptap.dev/api/extensions/collaboration-caret

What it means

Error "[tiptap warn]: DEPRECATED: The "user" command is deprecated. Please use "updateUser" instead. Read more: https://tiptap.dev/api/extensions/collaboration-caret" thrown in ueberdosis/tiptap.

Source

Thrown at packages/extension-collaboration-caret/src/collaboration-caret.ts:167

    }
  },

  addStorage() {
    return {
      users: [],
    }
  },

  addCommands() {
    return {
      updateUser: attributes => () => {
        this.options.provider.awareness.setLocalStateField('user', attributes)
        return true
      },
      user:
        attributes =>
        ({ editor }) => {
          console.warn(
            '[tiptap warn]: DEPRECATED: The "user" command is deprecated. Please use "updateUser" instead. Read more: https://tiptap.dev/api/extensions/collaboration-caret',
          )

          return editor.commands.updateUser(attributes)
        },
    }
  },

  addProseMirrorPlugins() {
    const { provider } = this.options
    const storage = this.storage
    const user = this.options.user

    // Owns the awareness 'update' subscription so it's torn down when the editor
    // is destroyed. Without this, the listener would keep the editor reachable
    // from a shared provider's awareness emitter and leak memory across editors.
    const awarenessListenerPlugin = new Plugin({
      key: new PluginKey('collaborationCaretAwarenessListener'),

View on GitHub (pinned to 496d53afd7)

When it happens

Trigger: Thrown at packages/extension-collaboration-caret/src/collaboration-caret.ts:167 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/aeaabece5648fb7b. Report an issue: GitHub.