diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index 4c462904..807b54c1 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -7000,6 +7000,8 @@ this.pasteElements = function(type, x, y) { pasted.push(copy); (current_group || getCurrentDrawing().getCurrentLayer()).appendChild(copy); batchCmd.addSubCommand(new svgedit.history.InsertElementCommand(copy)); + + restoreRefElems(copy); } selectOnly(pasted);