blockly > clipboard > paste

clipboard.paste() function

Pastes the last copied ICopyable into the last copied-from workspace.

Signature:

export declare function paste(): ICopyable<ICopyData> | null;

Returns:

ICopyable<ICopyData> | null

the pasted thing if the paste was successful, null otherwise.