Revert "remove unused square dom attribute "data-key""

This reverts commit 75304256f294f154bc3de2e27ebd0ff600a2614d.
simplify drag export