Back to Plate

Slate v2 Op-family Twenty-ninth Slice

docs/plans/2026-04-07-slate-v2-op-family-twenty-ninth-slice.md

53.0.6960 B
Original Source

Slate v2 Op-family Twenty-ninth Slice

Supporting plan. For current queue and roadmap truth, see master-roadmap.md.

Goal

  • Land the first honest range-based unwrapNodes(...) cut for top-level wrapper block spans.

Scope

  • Keep exact Path unwrapping intact.
  • Support:
    • exact Path
    • explicit Range
    • current selection when at is omitted
  • For Range or current selection, unwrap intersected top-level wrapper blocks.
  • Keep the slice to top-level wrappers whose direct children are elements.
  • Avoid mixed-inline partial-range unwrapping in this slice.

Phases

  • Confirm the top-level range-unwrap semantics and current structural seams
  • Add focused failing tests for path/range/current-selection unwrapping
  • Implement the smallest honest range-based unwrapNodes(...) follow-on
  • Sync package/public docs
  • Verify the touched package/docs