ueberdosis/tiptap · error

[tiptap error]: Extension "${name}" uses the "manual" decora

Error message

[tiptap error]: Extension "${name}" uses the "manual" decoration update strategy, which is not compatible with createInRange(). createInRange() requires the "changedRanges" strategy.

What it means

Error "[tiptap error]: Extension "${name}" uses the "manual" decoration update strategy, which is not compatible with createInRange(). createInRange() requires the "changedRanges" strategy." thrown in ueberdosis/tiptap.

Source

Thrown at packages/core/src/decorations/helpers/validateDecorationSpec.ts:30

    case 'document':
      if (spec.createInRange) {
        throw new Error(
          `[tiptap error]: Extension "${name}" provides createInRange() but does not use the ` +
            '"changedRanges" decoration update strategy.',
        )
      }
      return
    case 'changedRanges':
      if (!spec.createInRange) {
        throw new Error(
          `[tiptap error]: Extension "${name}" uses the "changedRanges" decoration update ` +
            'strategy but does not provide createInRange().',
        )
      }
      return
    case 'manual':
      if (spec.createInRange) {
        throw new Error(
          `[tiptap error]: Extension "${name}" uses the "manual" decoration update strategy, ` +
            'which is not compatible with createInRange(). createInRange() requires the ' +
            '"changedRanges" strategy.',
        )
      }
      if (spec.shouldUpdate) {
        throw new Error(
          `[tiptap error]: Extension "${name}" cannot combine the "manual" decoration update ` +
            'strategy with shouldUpdate().',
        )
      }
      return
    default:
      throw new Error(
        `[tiptap error]: Extension "${name}" uses an unknown decoration update strategy. ` +
          'Expected "document", "changedRanges", or "manual".',
      )
  }

View on GitHub (pinned to 496d53afd7)

When it happens

Trigger: Thrown at packages/core/src/decorations/helpers/validateDecorationSpec.ts:30 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/afd35c89bbacd003. Report an issue: GitHub.