Home > @jsplumbtoolkit/copy-paste > Clipboard > pasteCurrentSelection
Clipboard.pasteCurrentSelection() method
Copies and pastes the contents of the associated Toolkit instance's current selection into the clipboard. This method is equivalent to calling copyCurrentSelection() first and then calling paste(..).
Signature:
pasteCurrentSelection(options?: PasteOptions): ClonedSet;
Parameters
| Parameter | Type | Description |
|---|---|---|
| options | PasteOptions | Options for the paste. |
Returns: