Trevixal API
    Preparing search index...

    Class SplitNodeStep

    Split the textblock at path at inline offset offset. The second half becomes the next sibling, of type afterType (defaults to the same type and attributes).

    Hierarchy (View Summary)

    Index
    • Parameters

      • path: Path
      • offset: number
      • OptionalafterType: string
      • OptionalafterAttrs: Readonly<Record<string, unknown>>

      Returns SplitNodeStep

    afterAttrs?: Readonly<Record<string, unknown>>
    afterType?: string
    offset: number
    path: Path
    • Produce the step that undoes this one, given the document it applied to.

      Returns Step

    • Returns Record<string, unknown>