Trevixal API
    Preparing search index...

    Class RemoveMarkStep

    Remove a mark across an inline range. For exact invertibility, emit these only over ranges where the mark is actually present (see rangesWithMark).

    Hierarchy

    • MarkStep
      • RemoveMarkStep
    Index
    • Parameters

      • blockPath: Path
      • from: number
      • to: number
      • mark: Mark

      Returns RemoveMarkStep

    blockPath: Path
    from: number
    mark: Mark
    to: number
    • Apply to a document. Never throws, returns a failure result instead.

      Parameters

      Returns StepResult

    • Parameters

      Returns StepResult

    • Produce the step that undoes this one, given the document it applied to.

      Returns Step

    • Mark steps never move content.

      Parameters

      Returns Position

    • Returns Record<string, unknown>