vue-smooth-dnd
vue-smooth-dnd copied to clipboard
<Draggable /> contains a canvas elements But when dragged, the duplicate canvas is empty.
- Get the original canvas element
- canvas2image
let image = new Image();
image.src = canvas.toDataURL("image/png");
- replaceChild(duplicateCanvas, image)
so good !!!