WarUI

Paste and paste-to-range

GRID-A12-F10P0baselinePlanned

Ctrl/Cmd+V parses the clipboard and writes it starting at the active cell. If the selected range is larger than the clipboard data and is an exact multiple of its size, the data is tiled to fill the range. A single value pasted into a range fills every cell.

Planned. This page shows the specification from issue #191. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

A task grid with an input box holding sample clipboard text.

Expected behavior

A single value fills the whole selection. A 2×2 block is tiled into a 4×6 range. When the data overflows the grid, the overflow policy decides what happens.

Planned API surface

clipboard.pasteclipboard.tileToRangeclipboard.overflowpasteData()clipboard:beforePasteclipboard:paste

Acceptance criteria

  • Tiling happens only when the range size is an exact multiple of the source size; otherwise the paste starts at the anchor (pending)
  • extend-rows creates new rows through the configured row factory (pending)
  • beforePaste receives the parsed 2D array and can change or cancel it (pending)
  • The whole paste is applied as one transaction (pending)