Trevixal API
    Preparing search index...

    Class ReplaceInlineStep

    Replace the inline range [from, to) inside the textblock at blockPath with an inline fragment. Covers text insertion (from === to), deletion (empty fragment) and replacement.

    Hierarchy (View Summary)

    • Step
      • ReplaceInlineStep
    Index
    blockPath: Path
    from: number
    insert: Fragment
    to: number
    • get insertLength(): number

      Returns number

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

      Parameters

      Returns Step

    • Returns Record<string, unknown>