The app-wide edit-mode bus (useEditMode() handler). Copy/cut publish the marching-ants mode
onto it (the SheetClipboardLayer view reads it back); paste clears it; format-painter
toggles it. Required — the marquee and format-painter can't work without it.
OptionalelementThe focus/paste target element (the grid stage). Copy/paste guard on it and refocus it after paste. Points at the pane stage.
The global clipboard handle (useGlobalClipboard()). Copy writes references here; paste reads them.
The insert-copied-cells path in contributeSheetCommands reads the same handle, so a copy through
this contributor makes "insert copied cells" light up.
OptionalnotifierBusy + error UI for the copy/paste flows.
OptionalonNotified when the clipboard reference changes (null = cleared).
OptionalonNotified after a paste completes.
The single
databundle contributeClipboardCommands takes (theDynamicCommandContributorshape).