weasel API - v0.8.0
    Preparing search index...

    Function createSetTextOp

    • Op: set a text node's text content, inverting back to from. coalesceKey defaults to setText:${id} so successive edits to the same node (typing) merge into one undo entry within the history's coalesce window. Pass an explicit key to opt out.

      Parameters

      • args: SetTextArgs

      Returns Op