Let's add the data to be saved. Add a method to the dragStartHandler function that allows you to use the entire dragged HTML element as data. Use event.target.outerHTML as the data.
If difficulties arise, refer to this article.
Let's add the data to be saved. Add a method to the dragStartHandler function that allows you to use the entire dragged HTML element as data. Use event.target.outerHTML as the data.
If difficulties arise, refer to this article.
Create a free account to access the full topic