vue-smooth-dnd icon indicating copy to clipboard operation
vue-smooth-dnd copied to clipboard

<Draggable /> contains a canvas elements But when dragged, the duplicate canvas is empty.

Open bluezhan opened this issue 5 years ago • 0 comments

  • Get the original canvas element
  • canvas2image
    let image = new Image();  
    image.src = canvas.toDataURL("image/png");  
  • replaceChild(duplicateCanvas, image)

so good !!!

bluezhan avatar Jan 24 '19 14:01 bluezhan