diff --git a/frontend/src/tools/modification/CopyTool.ts b/frontend/src/tools/modification/CopyTool.ts new file mode 100644 index 0000000..0943625 --- /dev/null +++ b/frontend/src/tools/modification/CopyTool.ts @@ -0,0 +1,18 @@ +import { Tool } from '../Tool'; +import { Canvas } from '../../canvas/Canvas'; + +export class CopyTool extends Tool { + name = 'Copy'; + icon = 'copy'; + + constructor(canvas: Canvas) { + super(canvas); + } + + async execute(): Promise { + // Implementation for copy tool + // Select elements, get base point and target point + // Create copies of elements in Yjs document + // Add to undo history + } +} \ No newline at end of file