Skip to main content

Bug Tracker

Side navigation

#10763 closed bug (cantfix)

Opened November 11, 2011 07:16PM UTC

Closed November 12, 2011 03:01AM UTC

data() is gone after drag and drop images in a contenteditable

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.6.4
Keywords: Cc:
Blocked by: Blocking:

I have an image inside a contenteditable container and I have defined some data to this image with:


I see it working well until I drag and drop the image to another position of the contenteditable, then, the associated data dissapear.

As a workaround, I have defined the data with:


With this, I can get the data after move the move, but it is not the best way I think, as that creates a new attribute to the image.

Attachments (0)
Change History (2)

Changed November 11, 2011 07:30PM UTC by comment:1

This is the JSFIDDLE:

Changed November 12, 2011 03:01AM UTC by dmethvin comment:2

resolution: → cantfix
status: newclosed

Confirmed, but it is not a jQuery problem. All dynamic properties seem to be cleared when the image is moved.