Function: getLastCopiedWorkspace()
function getLastCopiedWorkspace(): WorkspaceSvg | null;
Defined in: packages/blockly/core/clipboard.ts:89
Gets the workspace that was last copied from. This is useful if you are implementing custom copy/paste behavior and want to paste on the same workspace that was copied from. If you want the default behavior, just use the copy and paste methods directly.
Returns
WorkspaceSvg | null
workspace that was last copied from, or null if none set.